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 16,586 views
0 votes
0 answers

Unable to select the dropdown list

In the dropdown list, the Edition element ...READ MORE

Aug 19, 2021 in Selenium by Edureka

edited Mar 4 139 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
37,666 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 155 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 146 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,772 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,443 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
20,055 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
31,493 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 13,236 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
1,147 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
13,227 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
33,411 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
34,244 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
26,254 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,546 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 158 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 135 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 133 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,437 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 145 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 128 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,706 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
30,107 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
14,452 views
+1 vote
1 answer

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

Add more sleep time where code breaks. ...READ MORE

Feb 26, 2021 in Selenium by Hamza

edited Mar 5 10,488 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,334 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,730 points
7,335 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 127 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
28,476 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,550 points
7,299 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,730 points
5,638 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,550 points
7,396 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,804 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,190 points
10,983 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,956 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
19,254 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,839 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
26,136 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
17,056 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,756 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
18,190 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,754 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
29,196 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,800 points
9,056 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 159 views