Skip to content

Commit

Permalink
Test on chromium in CI (#29)
Browse files Browse the repository at this point in the history
* Use chromium that run ARM and x86_64, and use php-webdriver/webdriver dev-main.

* Add chromium in CI.

* Add BROWSER_NAME_ALIAS_MAP and revert some changes.
  • Loading branch information
saidatom authored Aug 6, 2024
1 parent 73ad0b6 commit 9567c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- php: '7.4'
browser: 'edge'
selenium: '4'
- php: '8.2'
browser: 'chromium'
selenium: '4'
fail-fast: false

steps:
Expand Down
1 change: 1 addition & 0 deletions src/WebdriverClassicDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class WebdriverClassicDriver extends CoreDriver
private const BROWSER_NAME_ALIAS_MAP = [
'edge' => WebDriverBrowserType::MICROSOFT_EDGE,
'chrome' => WebDriverBrowserType::CHROME,
'chromium' => WebDriverBrowserType::CHROME,
'firefox' => WebDriverBrowserType::FIREFOX,
];

Expand Down

0 comments on commit 9567c6e

Please sign in to comment.