selenium-webdriver Questions

1

selenium-java : below error is coming org.openqa.selenium.WebDriverException: unknown error: result.webdriverValue.value list is missing or empty in Runtime.callFunctionOn response (Session info: ...
Coff asked 5/11, 2023 at 6:48

29

Solved

I want to make sure that an element is present before the webdriver starts doing stuff. I'm trying to get something like this to work: WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0,...

22

Solved

I have a web application to test with Selenium. There is a lot of JavaScript running on page load. This JavaScript code is not so well written but I can't change anything. So waiting for an element...
Arcturus asked 23/5, 2012 at 12:52

5

Solved

path is not absolute: src/test/resources/testData/twt_Pic.jpg getting this exception while uploading the file using selenium. Instead of uploading the file using the native os file explorer, sendi...
Boutique asked 4/6, 2018 at 15:51

0

Context: I plan to run a selenium script as an Amazon lambda function. My deployment package will be in the form of a container image. Before that I wanted to test locally if everything is working ...
Objective asked 31/10, 2023 at 11:29

7

A lot of times I want the webdriver to wait for presence of one of the two elements. Normally this happens when I am expecting the page to be showing either element1 in some cases or element 2. Cur...
Turbinate asked 5/3, 2016 at 10:33

4

I'd like to select some text and perform a click action - like in Winword where we click Bold after selecting some text... I have to select the text and click on the <B> bold icon in the tex...
Harappa asked 2/4, 2012 at 14:14

8

I want to automate file download completion checking in chromedriver. HTML of each entry in downloads list looks like <a is="action-link" id="file-link" tabindex="0" role="link" href="http://f...
Aegeus asked 23/5, 2016 at 6:59

11

Solved

In the HTML of a web application there is the following code: <input type="text" name="prettyTime" id="prettyTime" class="ui-state-disabled prettyTime" re...
Clint asked 21/10, 2011 at 16:17

8

Solved

Is there an elegant way to get the By locator of a Selenium WebElement, that I already found/identified? To be clear about the question: I want the "By locator" as used to find the element. I am i...
Speechless asked 28/7, 2015 at 12:55

4

Solved

I was reading over the Selenium docs and i couldn't quite work out whether you could run it on a server - as part of a larger web app. ie. something happens in the web app that triggers the automa...
Craniometry asked 25/7, 2013 at 9:50

13

I am new to selenium tests and I am currently watching some youtube videos using maven. Today I tried a few codes and worked fine but when accessing one store page and trying to search a product it...
Spreader asked 12/2, 2022 at 20:20

6

So I've been working on scraper that goes on 10k+pages and scrapes data from it. The issue is that over time, memory consumption raises drastically. So to overcome this - instead of closing driver ...

5

Solved

I am on Windows 10. I am trying to use Selenium to automate the Edge browser (or any other browser) via Excel VBA. I went to https://www.selenium.dev/downloads/ There I downloaded Selenium Server, ...
Florencio asked 4/6, 2020 at 22:48

5

Example Test: @Test public void shouldGetRoutesList() { Response response = given() .headers("RequestId", 10) .headers("Authorization", accessToken) .contentType(ContentType.JSON). expect() ...
Lime asked 21/1, 2016 at 8:53

8

Solved

How to scroll the webpage to the top of the page. I know scrolling the page to the bottom is: window.scrollTo(0,document.body.scrollHeight) just like that is it possible to scroll the page to...
Insular asked 15/4, 2016 at 12:56

4

Solved

I am looking to disable images in Firefox when using Selenium. It should be a simple update of the preferences in firefox, which is documented on the instructions on Disable images in Selenium Pyth...
Mclaren asked 22/7, 2015 at 18:57

12

Solved

For compatibility reasons I prefer to use Chrome version 55.0.2883.75 with Chromedriver v. 2.26. I downloaded the older version of chrome from https://www.slimjet.com/chrome/google-chrome-old-versi...

54

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The...
Prosperous asked 10/8, 2012 at 19:44

5

Solved

There is a block Ui which covers all the elements for a few seconds after the Element have been generated in the browser because of this i facing a problem ,Since element has come into existence th...
Jeaninejeanlouis asked 17/4, 2013 at 9:56

5

Solved

I am currently using selenium with Java,And want to implement cucumber to make test script more readable. Currently facing issue while passing argument to java method where Enum is expected as para...

9

Solved

I have a HTML/Javascript file with google's web speech api and I'm doing testing using selenium, however everytime I enter the site the browser requests permission to use my microphone and I have t...
Ashtoreth asked 7/2, 2014 at 13:23

14

I am unable to download the Chrome driver for Chrome version 115. I have downloaded the ZIP file from: https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.102/win64/chrome-win64....
Remus asked 23/7, 2023 at 6:48

5

Solved

I have been working on automating file downloads using Selenium WebDriver with ChromeDriver in Java. My code was working perfectly until I updated to ChromeDriver version 117+, the code worked fine...

8

While running selenium, I need to load a chrome extension from the web store. In my research, I only found how to load an extension from the local machine. Is it possible for selenium to load an ex...

© 2022 - 2024 — McMap. All rights reserved.