Questions Tagged [Selenium-Webdriver]
Ask Question Selenium Webdriver Provides the Webdriver Api for Controlling Browsers in Different Programming Languages ("Language Bindings"). When Using This...
Selenium WebDriver provides the WebDriver API for controlling browsers in different programming languages ("language bindings"). When using this tag, also add a tag for the programming language you are using.
Must Read
47,462
questions
0
votes
0
answers
10
views
Unable to get text from span using selenium and python
I'm using selenium and python to scrape and control a website. I am able to get all the other span text from the site but unable to grab this specific one. I've searched to the end of the internet ...
0
votes
0
answers
14
views
Is there a library out there that does a lot of the driver set up for you? [closed]
So, I'm working on a new selenium project, and I've realized that a lot of code can be pretty redundant. I'm able to make my own DriverExtension class, but I feel like this probably exists elsewhere, ...
-1
votes
1
answer
36
views
How to change hyphen sign for question mark in java program?
I'm utilizing this line codes
String string = "Some usefull information − don't know what happens with my output";
System.out.println(string);
String str2verify = driver.findElement(By.xpath(...
0
votes
0
answers
6
views
How to extract dynamic time from selenium python
I would like to extract the time from this website and the time is constantly changing.
I tried
HKTime = WebDriverWait(driver, 20).until(EC....
1
vote
0
answers
12
views
Bypassing Cloudflare on Selenium Webdriver using Java language
I'm currently trying to script a test on Selenium Webdriver, using java language, to login to a webpage, but the page has Cloudflare authentication.
Attempting to login to Cloudflare is giving a ...
1
vote
0
answers
4
views
How to generate test reports using junit4 + selenium + eclipse?
I want to create test reports (reports generated after the execution of each test case). please help me if you know how to create them?
0
votes
0
answers
8
views
Spring causing WebDriver to 'quit()' after each test
I'm trying to get a Spring Boot Selenium app to work. I can get one test to run successfully, but when I run more than one test, the second test complains with:
Session ID is null. Using WebDriver ...
0
votes
0
answers
16
views
Can't find an element by its xpath (slenium in python)
Here's the full code
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
import time
words = list() ...
0
votes
1
answer
19
views
Python Selenium Webdriver doesn't scroll into div
I wrote a script to scrape data from SubGraph APIs. It simply click the run button and gets some output code. The problem is that I dhould scroll until the end of the page to get the full output code, ...
0
votes
1
answer
32
views
How to interact with map elements in Selenium
I've recently started to work with the Selenium Chrome driver in Python, and I ran into an issue when trying to interact with a NASA map interface. I aim to follow Curiosity's route by iterating and ...
0
votes
1
answer
17
views
Selenium: close specific tab (handle) by index without switching to it
Is it possible to close a specific tab in Selenium by index wihout switching to it?
Currently I am doing this:
driver.switch_to.window(driver.window_handles[1])
driver.close()
driver.switch_to.window(...
1
vote
1
answer
27
views
problem when write test code for selenium using java, some methods is undefined?
I am newbie with Java and Selenium and here is my problem.
I wrote a very simple test code by java and I added selenium webdriver java 3.141 as the tutorial and have no problem.
My problem is, my code ...
0
votes
0
answers
10
views
SelectElement.SelectByText(String text, Boolean partialMatch) is indicated when run the code for C# test automation
I am new to test automation. When I am run this code
var company = new SelectElement(webDriver.FindElement(By.Id("SomeId")));
company.SelectByText("SomeText");
This is ...
0
votes
1
answer
24
views
Where is the right place to put Thread in C# test automation
I have used the Thread in the middle of the two coding lines. Is it the correct place to keep
var branch = new SelectElement(webDriver.FindElement(By.Id("CompanyBranchId")));
Thread....
0
votes
0
answers
13
views
group testCases under one class and show them in ExtentReports like TestClass [Parent] and TestMethods [childNodes] - how to do it?
I want to create an Extent Report in way that it should group all the TestMethods under a Test Class in their respective manner.
For example :--
TestClass_Login :-
TestMethod_LoginTitleTest
...