Skip to content

Update & refactor browser capabilities and Grid code

Compare
Choose a tag to compare
@mdmintz mdmintz released this 24 Dec 22:57
· 3535 commits to master since this release
bbd67a0

Update & refactor browser capabilities and Grid code

  • For Chrome, parse browserVersion and platformName for Grid tests.
  • For Firefox, parse platformName for Grid tests.
  • When using a cap file that sets the above, a matching Grid node is required.
  • Remove Legacy Edge from local grid nodes.
  • Set local Grid node browsers to version: "latest" for cap file identification.
  • Refresh Python dependencies: setuptools>=60.1.0;python_version>="3.7"

Here's a refresher on using a local Selenium Grid:

If using a local Selenium Grid with SeleniumBase, start up the Grid Hub and nodes first:

sbase grid-hub start
sbase grid-node start

(The Selenium Server JAR file will be automatically downloaded for first-time Grid users. You'll also need Java installed to start up the Grid.)

To have tests use the local Grid, set: --server=127.0.0.1 in the pytest command-line options.