-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(docs): Using WebDriverIO with GNOME's Epiphany and WPE's Cog browsers #11899
Comments
Thanks for reporting! We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers! |
Assign this to me, and I will try to fix it. |
@Ali7040 any updates or questions? |
![]() |
And on WebdriverIO, we can only run driver-based browsers. For Linux browsers like GNOME and WPE's cog, there is no driver. I have searched for it, so I don't think we can run Linux browsers, and there is no documentation available for them. |
Please make sure you run the recommended Node.js version for development which is
Are these browser based on an engine like Chromium or Gecko? Chances are that you can use these drivers then. |
GNOME Web (Epiphany) uses the WebKitGTK rendering engine, and it is not based on either Chromium or Gecko. |
It seems there is a driver for that here: https://packages.debian.org/stable/web/webkit2gtk-driver. I would suggest to build a project like For WPE's Cog there is also a driver: https://manpages.ubuntu.com/manpages/focal/en/man1/WPEWebDriver.1.html, same applies here. I don't have a Linux machine, so I won't be able to work on this but it would be awesome to have support. |
@Ali7040 let me know if you are still interested in working on this. I am happy to re-assign you. |
Discussed in #11880
Originally posted by lauromoura December 17, 2023
Hi, does WebdriverIO support using third-party browsers other than Chrome/Edge/Safari/Firefox? The browsers in question are based on WebKit, like Safari (e.g. GNOME's Epiphany and WPE's Cog).
I tried playing with the capabilities in the manual mode but looks like
browserName
must be one of these 4 (or closely related), with WebDriverIO refusing to startremote()
if it's different. If I try usingsafari
but changing other caps like binaries paths, the wrongbrowserName
causes the capability negotiation to fail with the third-party browser service.Before testing WebDriverIO, I've been using Selenium's python bindings, through its
RemoteWebDriver
classes, with the extra capabilities specific to the tested browsers like command line arguments. Does WebDriverIO have something similar to theRemoteWebDriver
?The text was updated successfully, but these errors were encountered: