ElSnoMan / pyleniumio

Bring the best of Selenium and Cypress into a single Python package
https://docs.pylenium.io
MIT License
268 stars 50 forks source link

Native SauceLabs Integration #84

Closed ElSnoMan closed 2 years ago

ElSnoMan commented 4 years ago

https://saucelabs.github.io/sauce_bindings/docs/getting-started

nguyet0310 commented 2 years ago

I try to integrate it with Lamda test today, but it doesn't work either. The remote browser is https://username:key@hub.lambdatest.com/wd/hub and caps is below ` "capabilities": {

    "build": "Demo Build",
    "name": "Test-Name",
    "platform": "Windows 10",
    "browserName": "Chrome",
    "version": "92.0",
    "resolution": "1024x768"

}`

error as below: selenium.common.exceptions.WebDriverException: Message: You might be using selenium 4, please refer to capability generator https://www.lambdatest.com/capabilities-generator for selenium 4 capabilities or contact support Will this be supported soon? and mean while, is there any work around solution?

ElSnoMan commented 2 years ago

This story is about potentially adding native integration with SauceLabs, not LambdaTest.

Pylenium does work with LambdaTest and our CI actually uses it! The error says to use their capability generator since we're using Selenium 4. Have you tried that? (Could you make this a separate Issue or Discussion please?)

ElSnoMan commented 2 years ago

SauceLabs never got back to me with a sandbox account, but Pylenium is flexible enough that it could use SauceLabs if needed. Closing for now