Trending questions in Selenium

0 votes
0 answers

nullpointer exception

import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Testscript01 ...READ MORE

Apr 30, 2020 in Selenium by Syed
• 120 points
1,420 views
0 votes
0 answers

How to write date text in excel sheet?

May 18, 2020 in Selenium by sukanya
• 120 points
621 views
0 votes
1 answer

How to open browser window in incognito/private mode using python selenium webdriver?

Hi Nuri, to open a browser window ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
13,084 views
0 votes
1 answer

Using the same in IE browser but getting half the screen as black and half is coming

You could probably give a try making ...READ MORE

May 4, 2020 in Selenium by Sirajul
• 59,230 points
978 views
0 votes
2 answers

how to select text by span class

Do you just want to select the ...READ MORE

Feb 27, 2020 in Selenium by Etl
• 170 points
3,935 views
0 votes
0 answers

Getting different texts from the HTML DOM through Selenium and Python or vb.net

Apologies in advance had to hide info ...READ MORE

May 4, 2020 in Selenium by Rock
• 120 points
899 views
0 votes
0 answers

Close do window

I have the following code driver = webdriver.Chrome(executable_path=r'/home/ruben/Documentos/Robô_Neobux/chromedriver') driver.get(Url) driver.maximize_window() time.sleep(2) Login=driver.find_element_by_id("Kf1").send_keys(Nome_De_Utilizaor) Login=driver.find_element_by_id('Kf2').send_keys(Passoword) time.sleep(15) Login=driver.find_element_by_id('botao_login') Login.click() time.sleep(10) forex ...READ MORE

May 12, 2020 in Selenium by Ruben
• 120 points
529 views
0 votes
1 answer

Please help me below my question

Check this out https://www.guru99.com/locators-in-selenium-ide.html Hope this helps! Also refer to https://www.edureka.co/blog/css-selectors-in-selenium/#Demo ...READ MORE

May 11, 2020 in Selenium by kim
512 views
0 votes
1 answer

Maven project is not generating TestNG results within the test-output folder in a Selenium project

You can find the answer here. In Run ...READ MORE

Aug 30, 2020 in Selenium by Karthikeya
• 140 points
4,755 views
0 votes
1 answer

I am facing issue while running my test case

The error that u got probably implies that ...READ MORE

May 6, 2020 in Selenium by Sirajul
• 59,230 points
530 views
0 votes
1 answer

How to read test data from an excel sheet and use it to test facebook login in Selenium Webdriver?

Hi Mohan, you can use following code ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
13,189 views
0 votes
1 answer

org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document

Hi AK, to resolve this type of error, ...READ MORE

Sep 9, 2019 in Selenium by Abha
• 28,140 points
10,792 views
+1 vote
2 answers

Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module

The InvalidModuleDescriptorException usually occurs when you are trying to read ...READ MORE

May 14, 2020 in Selenium by Sirajul
• 59,230 points
3,208 views
0 votes
0 answers

org.openqa.selenium.WebDriverException: Unable to convert: {actions=[org.openqa.selenium.interactions.Sequence@737edcfa, org.openqa.selenium.interactions.Sequence@3ecedf21]}

I am getting error  org.openqa.selenium.WebDriverException: Unable to convert: ...READ MORE

Mar 23, 2020 in Selenium by Manish
• 140 points
2,207 views
+3 votes
1 answer

xpath is not working

Try this, public class SiblingAndParentInXpath { ...READ MORE

Mar 31, 2020 in Selenium by anonymous
• 140 points
3,214 views
0 votes
1 answer

How can I clear text of a textbox using Python Selenium WebDriver?

Hi Sonakshi, we can clear text of ...READ MORE

Jul 31, 2019 in Selenium by Anvi
• 14,150 points
12,342 views
0 votes
1 answer

Selecting xpath for with multiple conditions using Selenium and Python

Use the XPath in either of the following ways ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
28,857 views
0 votes
1 answer

Exception in thread "main" java.lang.IllegalStateException

Your Query is similar to https://www.edureka.co/community/5617 ...READ MORE

Apr 13, 2020 in Selenium by Sirajul
• 59,230 points
1,134 views
0 votes
1 answer

How to hide the console of the ChromeDriver in python

Have you tried this one?  https://help.applitools.com/hc/en-u ...READ MORE

Feb 16, 2020 in Selenium by Klinsc
9,499 views
0 votes
1 answer

How to verify page title in Selenium?

Hey Janvi, you can verify a page's ...READ MORE

Jul 4, 2019 in Selenium by Lavanya
13,292 views
0 votes
0 answers
0 votes
1 answer

String insId=RecInspage.getInsIdByTransportName(driver, fileName).getText(); I want to give explicit wait for this how to write code?

Check out this link https://www.edureka.co/blog/waits-in-selenium/ This will give you ...READ MORE

Apr 27, 2020 in Selenium by Sirajul
• 59,230 points
406 views
0 votes
0 answers

URGENT ! I have a problem in my code. Please Help!!

Hello, I tried to extract data from a ...READ MORE

Apr 24, 2020 in Selenium by anonymous
• 120 points
470 views
0 votes
1 answer

click on Sign In by using css selector

You could try using the value of class attribute: //span ...READ MORE

Apr 20, 2020 in Selenium by Kim
589 views
0 votes
0 answers

Selenium : how to Enter data in to tabular format frame - in horizontal way in UI [closed]

My List<Map<String,String>> Has below Data : [{Test_Case_id=tc1, Delimiter=|,SourceFile=/tmp/tes.dat,targetFile=/tmp/tgt.file}, {Test_Case_id=tc2, ...READ MORE

Apr 11, 2020 in Selenium by Jyra
• 580 points

closed Apr 13, 2020 by Jyra 945 views
0 votes
1 answer

How to launch Edge browser with Selenium Webdriver?

Hey Tamanna, you can use following lines ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
12,564 views
0 votes
1 answer

Can we use selenium python script on backend of our website??

It is possible to add some python ...READ MORE

Mar 4, 2020 in Selenium by Sirajul
• 59,230 points
2,491 views
0 votes
1 answer

How can I read a CSV file in Selenium using Webdriver?

Hey Trisha, you can read a CSV ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
12,464 views
0 votes
1 answer

Exception in thread "main" java.lang.IllegalStateException

Your query is similar to the following ...READ MORE

Mar 17, 2020 in Selenium by Sirajul
• 59,230 points
3,184 views
0 votes
1 answer

I need scroll page in middle using action class or javascript

Try the following: WebElement element = driver.findElement(By.xxx("xxxx")); String scrollElementIntoMiddle ...READ MORE

Mar 30, 2020 in Selenium by Liana
1,289 views
0 votes
1 answer

Is it possible to check if a text is highlighted on the page using Selenium?

Hey Karan, you can use following code ...READ MORE

May 30, 2019 in Selenium by Avni
14,473 views
0 votes
1 answer

How to loop through a menu list on a webpage using Selenium?

Hi Tarun, you can use following code ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
10,787 views
0 votes
1 answer

I am getting Stale element exception when I try to automate angular js - drop down using Selenium with Java

Hey @Dhivya, StaleElementReferenceException is thrown when an ...READ MORE

Feb 12, 2020 in Selenium by Sirajul
• 59,230 points
3,174 views
0 votes
0 answers

org.openqa.selenium.ElementClickInterceptedException:

getting thei error: Exception in thread "main" org.openqa.selenium.ElementClickInterceptedException: ...READ MORE

Nov 11, 2019 in Selenium by Sridevi
• 120 points
7,251 views
0 votes
1 answer

How to locate web elements in Selenium-Python?

@Urvashi in Python, Selenium Webdriver API supports ...READ MORE

May 27, 2019 in Selenium by Anvi
• 14,150 points
14,423 views
0 votes
1 answer

Gmail login through third party

This issue probably occurs when multiple Gmail ...READ MORE

Mar 12, 2020 in Selenium by Sirajul
• 59,230 points
1,927 views
0 votes
1 answer

How to type text in a new line inside a text area using Selenium Webdriver?

Hey Unnati, '\n' is usually used to type text ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
13,168 views
0 votes
1 answer

Installing Selenium Webdriver with Python package

Hey Hemant, for installing Selenium Webdriver with ...READ MORE

May 8, 2019 in Selenium by Anvi
• 14,150 points
15,140 views
0 votes
1 answer

How to get details of a webpage like url, title name, domain name etc using Javascript Executor?

Hey Nitya, you can use executeScript() method ...READ MORE

Jul 23, 2019 in Selenium by Abha
• 28,140 points
11,819 views
0 votes
1 answer

How to create a Base Class in Selenium and use it with test scripts?

Hi Donna, you can use following code ...READ MORE

Jul 18, 2019 in Selenium by Anvi
• 14,150 points
12,017 views
0 votes
1 answer

How can I get Webdriver Session ID in Selenium?

Hey Nargis, you can use following methods ...READ MORE

Jun 21, 2019 in Selenium by Abha
• 28,140 points
13,089 views
0 votes
2 answers

Alternative of click() in selenium

Depends on your scenario. webDriver click is ...READ MORE

May 6, 2020 in Selenium by Rahul
8,853 views
0 votes
2 answers

How can we use JavaScript Executor to click and enter data to a web element in Selenium?

WebElement element = driver.findElement(By.id("abcd")); // Let the ...READ MORE

Mar 22, 2020 in Selenium by Lakshmi Sarvepalli
3,141 views
0 votes
0 answers

Struck to do an application on amazon price tracking

Sir I want to do an application ...READ MORE

Apr 7, 2020 in Selenium by Likhitha
• 120 points
449 views
0 votes
1 answer

Google Search Automation with Python Selenium.

You can simply automate pressing the "Enter" ...READ MORE

Aug 5, 2019 in Selenium by Payal
11,000 views
0 votes
1 answer

How to install and configure PyDev in Eclipse?

Hey Manisha, follow the steps mentioned below ...READ MORE

May 9, 2019 in Selenium by Avantika
14,797 views
–1 vote
1 answer

How can I access the parent of a node with XPath?

Hey Hemant, we can use the double ...READ MORE

Jun 24, 2019 in Selenium by Anvi
• 14,150 points
12,831 views
0 votes
1 answer

How can I select date from a datepicker div using Selenium Webdriver?

Hey Jeevika, you can use following automation ...READ MORE

Jul 15, 2019 in Selenium by Abha
• 28,140 points
11,793 views
0 votes
1 answer

What is the difference between getWindowHandle() and getWindowHandles() methods in Selenium WebDriver?

Hey Jennifer, difference between getWindowHandle() and getWindowHandles() ...READ MORE

Jun 4, 2019 in Selenium by Anvi
• 14,150 points
13,528 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

Apr 10, 2018 in Selenium by nsv999
• 5,500 points
12,620 views