Questions tagged [webdriver-w3c-spec]

WebDriver W3C Recommendation: WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behavior of web browsers.

WebDriver W3C Recommendation

WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behavior of web browsers.

README: https://github.com/w3c/webdriver

Repository for any errors or issues reported since publication: https://github.com/w3c/webdriver/issues

26 questions
1
vote
1 answer

In Laravel Dusk Stripe Testing how do i fix "In W3C compliance mode frame must be either instance of WebDriverElement, integer or null"

My application was laravel framework 5.8 and i am currently upgrading it to 6.0. My Laravel Dusk browser tests include logging into Stripe, creating a user and a subscription before testing the application functionality. I am using Google Chrome…
Greenie
  • 113
  • 1
  • 11
1
vote
2 answers

Getting error message in Edge 'JSON wire protocol command endpoint is not allowed' when server uses w3c

When we run the script using Microsoft Edge getting the below error : The following JSON wire protocol command endpoint is not allowed when server is running in W3C mode. GET /shutdown What I understand is that Edge now supports W3C mode by…
Sai
  • 389
  • 6
  • 18
1
vote
2 answers

How can I scrape a website without getting detected and bypassing reCAPTCHA using selenium webdriver through Python?

I know the webscraping and I have taken the data from different website and I am using python language and selenium webdriver chrome. But I call a website it is open front page and then I click or go any other page then website restrict me and…
1
vote
2 answers

What is benefit of using ChromeDriver over WebDriver if we are using only Chrome Browser in our Selenium Automation Script

I am using WebDriver and ChromeDriver variables in following manner: Line1 : WebDriver driver1 = new ChromeDriver(); Line2: ChromeDriver driver2 = new ChromeDriver(); My script is limited to run test cases only in Chrome Driver, so I will…
1
vote
1 answer

Is there a way to use Selenium WebDriver without informing the document that it is controlled by WebDriver?

I'm automating an Web page who call a CAPTCHA to validate the login, but I noticed that this page only request this CAPTCHA when I'm using my automatized test code, when I do it manually it don't request. I asked to developer team to disable it on…
0
votes
1 answer

Protractor W3C capability

I am using Protractor with Selenoid. I need to use the dockerized Windows images so that I can test Internet Explorer and Edge from Linux boxes. I was able to make it work from curl by running: curl -X POST http://127.0.0.1:4444/wd/hub/session -d…
0
votes
2 answers

Error: UnsupportedOperationError: pointer movements relative to viewport are not supported in bridge mode

I have selenium Hub as a service on Cluster Kubernetes and I start testing remotely using selenium side runner. Unfortunately when I try to run a test with terminal (using Ubuntu), I get the following error: enter image description…
0
votes
1 answer

From which place Selenium Webdriver gets title - using driver.title

From which place Selenium Webdriver usually gets title - using driver.title ? from Page Source or from DOM structure
0
votes
1 answer

selenium.common.exceptions.WebDriverException: Message: GET /session/.../window/rect did not match a known command with get_window_position()

When I run this code url = 'https://www.google.com' driver = webdriver.Firefox() driver.get(url) print(driver.get_window_position())' I get this error selenium.common.exceptions.WebDriverException: Message: GET…
-1
votes
3 answers

Karate UI Initial Get Call to BrowserStack Failing

I'm attempting to do a POC for our mobile browser automation testing using Karate UI and BrowserStack. I noticed Karate attempts to make a GET call to BrowserStack when the test starts, and is receiving a 500: GET…
anutter
  • 366
  • 2
  • 17
-1
votes
3 answers

How to understand the webdriver and get() in Selenium?

How to print all html/css tags of a webpage using Selenium: from selenium import webdriver browser = webdriver.Firefox() browser.get('http://seleniumhq.org/') When I do: print(browser), it prints…
1
2