webdriverio/webdriverio

(docs): Using WebDriverIO with GNOME's Epiphany and WPE's Cog browsers

Open

#11,899 建立於 2023年12月18日

在 GitHub 查看
 (11 留言) (0 反應) (0 負責人)JavaScript (6,029 star) (1,793 fork)batch import
good first pickhelp wanted

描述

Discussed in https://github.com/webdriverio/webdriverio/discussions/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 start remote() if it's different. If I try using safari but changing other caps like binaries paths, the wrong browserName 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 the RemoteWebDriver?

貢獻者指南