Trending questions in Selenium

0 votes
1 answer

Can we run multiple instances simultaneously with Selenium WebDriver?

hi.Have you find any solution ? READ MORE

Jan 4, 2023 in Selenium by haf

edited Mar 5 15,930 views
0 votes
0 answers

Chrome - How to select a specific PKI certificate based on profile?

How to select a specific PKI certificate ...READ MORE

Aug 14, 2021 in Selenium by Dave

edited Mar 4 28 views
0 votes
0 answers

Chrome - How to select a specific PKI certificate based on profile?

How to select a specific PKI certificate ...READ MORE

Aug 14, 2021 in Selenium by Dave

edited Mar 4 27 views
0 votes
3 answers

Chropath gets disappeared even after pinning in the browser

@Faha Try writing manually.. why depending on such ...READ MORE

Dec 4, 2020 in Selenium by Nikita
10,367 views
0 votes
2 answers

Selenium WebDriver Error: AttributeError: 'list' object has no attribute 'click'

If you are going to use a ...READ MORE

Jan 17, 2020 in Selenium by lwazi
36,830 views
0 votes
1 answer

What is the primary difference between the XPath and CSS selector?

Hello Ushma, the primary difference between XPath ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points

edited Oct 27, 2023 by Khan Sarfaraz 33,183 views
+1 vote
2 answers

How to get page source as it is in browser using selenium.

I needed to wait for an element ...READ MORE

Apr 18, 2020 in Selenium by laiman
• 330 points
19,585 views
0 votes
3 answers

Clicking on an element in robot framework is not working in IE, but its working fine in Chrome & Firefox

*** Test Cases *** Login Open Browser ...READ MORE

Mar 10, 2023 in Selenium by Chandra Kumar

edited Mar 5 12,647 views
0 votes
1 answer

why it is calling as a regresssion is there any reason

The idea is to run this series ...READ MORE

Nov 23, 2021 in Selenium by anonymous
940 views
0 votes
0 answers

Getting Java Null Pointer Exception on running the test case in Seleniumn.Can someone pls let me know where i need to fix in order to progress

Below is the Error: java.lang.RuntimeException: java.lang.NullPointerException at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:49) at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:131) at ...READ MORE

Sep 11, 2020 in Selenium by sandhya
• 180 points
12,868 views
0 votes
1 answer

How to extract text from a web page using selenium and save it as a text file?

Hello Isha, you can checkout this code ...READ MORE

May 7, 2019 in Selenium by Anvi
• 14,150 points
33,973 views
0 votes
3 answers

Click Allow on Show Notifications popup using Selenium Webdriver

Try this: Robot robot = new Robot(); robot.delay(5000); robot.keyPress(KeyEvent.VK_TAB); robot.keyPress(KeyEvent.VK_ENTER); hope this ...READ MORE

Mar 1, 2020 in Selenium by anuj
30,428 views
0 votes
1 answer

What are the different ways of handling authentication popup window using Selenium?

Hey Pragati, authentication popups can be handled ...READ MORE

May 28, 2019 in Selenium by Abha
• 28,140 points
32,983 views
0 votes
2 answers

How to get the text from a website using selenium?

driver.findElement(By.cssSelector("p")).getText() or  IWebElement element = Browser.GetElementByCssSelector("div.loginbox p"); string text = ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
25,996 views
0 votes
2 answers

How to get HTML Source of WebElement in Selenium WebDriver using Python?

If you want to get the html ...READ MORE

May 31, 2019 in Selenium by Atul Singh
40,166 views
0 votes
0 answers

How to enable 'preserve logs' in chrome(remote browser) using selenium ?

I have tried to enable 'preserve logs' ...READ MORE

Jun 24, 2021 in Selenium by anonymous

edited Mar 4 35 views
0 votes
0 answers

Is it possible to scrape website using anti-bot?

Hi, I am using python-selenium to scrape ...READ MORE

Jun 17, 2021 in Selenium by Dharmendra

edited Mar 4 29 views
0 votes
0 answers

What’s the difference between SelectorsHub and chropath in selenium?

What’s the difference between SelectorsHub and chropath ...READ MORE

Jun 10, 2021 in Selenium by anonymous

edited Mar 4 26 views
0 votes
1 answer

What is difference between Assert and Verify in Selenium?

Hello, talking about the definition.  Assert: If the assert condition ...READ MORE

Dec 31, 2018 in Selenium by Prasad
38,232 views
0 votes
0 answers

How do I use the SelectorsHub debugger feature to inspect dynamic elements?

How do I use the SelectorsHub debugger ...READ MORE

Jun 3, 2021 in Selenium by Edureka

edited Mar 4 23 views
0 votes
0 answers

How can I use Selectorshub with selenium to generate and write xpath?

How can I use Selectorshub with selenium ...READ MORE

Jun 3, 2021 in Selenium by Ram

edited Mar 4 22 views
0 votes
1 answer

What are the differences between POM and PageFactory in Selenium Webdriver?

Hi Raveena, Page Object Model (POM) and ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
29,460 views
+1 vote
0 answers

python selenium error: element is not attached to the page document

I am scraping Banggood, the problem is ...READ MORE

Apr 10, 2020 in Selenium by eslam
• 130 points
10,257 views
+2 votes
3 answers

How can we handle authentication popup in Selenium WebDriver using Java

1) By passing user credentials in URL. String ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
29,576 views
0 votes
2 answers

Couldn't sign to Chrome with selenium

Yes. I have spent my whole day ...READ MORE

Aug 25, 2020 in Selenium by anonymous
13,799 views
0 votes
1 answer

How to run multiple test cases using TestNG Test Suite in Selenium?

Hi Neerja, to run multiple test cases ...READ MORE

May 22, 2019 in Selenium by Abha
• 28,140 points
31,001 views
0 votes
1 answer

How do I find an element that contains specific text in Selenium WebDriver (Python)?

Try the following: driver.find_elements_by_xpath("//*[contains(text(), 'My Button')]") I hope this ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,770 points
6,859 views
0 votes
0 answers

In what cases we have to choose data driven and keyword driven frame work how can we find that?

How can we define that for this ...READ MORE

Apr 30, 2021 in Selenium by mohanapalani15

edited Mar 4 26 views
+1 vote
2 answers

Is it possible to manually set the attribute value of a Web Element using Selenium?

WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
27,871 views
0 votes
1 answer

How to switch tabs using Selenium WebDriver with Java?

psdbComponent.clickDocumentLink(); ArrayList<String> tabs2 = ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,770 points
5,412 views
0 votes
1 answer

When i give WebDriver driver=new ChromeDriver();

If you use ChromeDriver driver = new ChromeDriver(); the ChromeDriver instance ...READ MORE

Oct 23, 2020 in Selenium by Karan
• 19,610 points
7,188 views
0 votes
1 answer

Which exception is raised when an element is not found in an HTML DOM using XPath

Hey, A stale element reference exception is thrown in one of two cases If ...READ MORE

Jul 30, 2020 in Selenium by Sirajul
• 59,230 points
10,807 views
0 votes
1 answer

Suddenly my whole program will not run. It shows main error" Missing Type String"

It needs to upgrade the Compiler Compliance.  For ...READ MORE

Oct 29, 2020 in Selenium by Karan
• 19,610 points
6,855 views
0 votes
1 answer

Select item from sub-menu of a menu using mouse over action in selenium

import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; public ...READ MORE

May 22, 2019 in Selenium by Anvi
• 14,150 points
29,478 views
0 votes
2 answers

How to submit a form in Selenium webdriver if submit button can't be identified?

In addition to flat out submitting the ...READ MORE

Jul 31, 2020 in Selenium by anonymous
18,871 views
0 votes
2 answers

How to get all options of a dropdown using python selenium webdriver?

WebElement element = driver.findElement(By.id("")); Select select = new ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
17,555 views
0 votes
1 answer

Getting runtime.cucumberexception for error parsing feature file

First check if there is any extra ...READ MORE

May 17, 2019 in Selenium by Frankie
• 9,830 points
29,441 views
0 votes
1 answer
0 votes
2 answers

How to avoid the pop-up window in chrome browser with Selenium?

Alert alertCancel = driver.switchTo().alert(); READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
16,744 views
0 votes
4 answers

Throwing error - org.openqa.selenium.SessionNotCreatedException: session not created exception

Updating the chrome driver and chrome browser ...READ MORE

Apr 12, 2020 in Selenium by Vamsi
25,561 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Xpath is one of the most important ...READ MORE

May 23, 2022 in Selenium by anonymous

edited Mar 5 5,505 views
0 votes
2 answers

How to verify color of a web element in Selenium Webdriver?

document.getElementsByTagName('div')[0].style.backgroundColor READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
17,878 views
0 votes
2 answers

Get text using selenium web driver in python

text = driver.find_element_by_class_name("current-text").getText(); ...READ MORE

Feb 4, 2019 in Selenium by anonymous
38,332 views
+3 votes
1 answer

How to get the attribute value of a web element in Selenium (using Java or Python)?

Hello @Umesh, if you want to get ...READ MORE

May 16, 2019 in Selenium by David
28,950 views
0 votes
0 answers

can we remove ::before = $0 in selenium

can we remove ::before = $0 in ...READ MORE

Mar 13, 2021 in Selenium by jatin

edited Mar 4 53 views
0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,840 points
8,681 views
0 votes
0 answers

I am facing this exception whenever I am trying to run the code in eclipse for selenium. I have imported all the necessary jar files like guava jar files.

Exception in thread "main" java.lang.IllegalStateException: The driver ...READ MORE

Mar 10, 2021 in Selenium by Paromita

edited Mar 4 25 views