Most viewed questions in Selenium

0 votes
1 answer

Error: unable to add browser extension to Firefox profile using Selenium

Try to create profile on Firefox browser ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
2,912 views
0 votes
1 answer

How to eleiminate Selenium NoClassDefFoundError for SSLContext?

You need to upgrade the httpCore dependency ...READ MORE

May 4, 2018 in Selenium by Samarpit
• 5,910 points
2,910 views
0 votes
1 answer

Need to switch between frames in Selenium

For switching between frames, use driver.switchTo().frame(). First ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
2,897 views
0 votes
0 answers

I am getting no such alert exception in selenium when i tried to run the script

I am getting error after executing the ...READ MORE

Feb 4, 2020 in Selenium by puneeth
• 120 points
2,893 views
0 votes
1 answer
+1 vote
1 answer

What is Appium and how it uses Selenium Webdriver?

Hey Drejina, Appium is an open source ...READ MORE

Jul 7, 2019 in Selenium by Martin
2,883 views
0 votes
2 answers

Data loss after page refresh in selenium

The easiest way to reload current page ...READ MORE

Apr 20, 2020 in Selenium by Liana
2,879 views
+1 vote
0 answers

Is it possible to pass a fake media stream to Firefox with the help of a command line?

I'm currently developing a Selenium-Java based application and ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
2,876 views
0 votes
1 answer

How isMultiple() method can be used by Selenium Webdriver?

@Payal, isMultiple() method is used to check ...READ MORE

Jun 1, 2019 in Selenium by Anvi
• 14,150 points
2,875 views
0 votes
1 answer

What is Apache POI in Selenium and what it is used for?

Hi Raj, Apache POI is the most commonly ...READ MORE

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

In Selenium, how to give a name to a file when it is downloading?

I'm working with a Selenium script where I'm ...READ MORE

Jul 15, 2019 in Selenium by Vaishnavi
• 1,180 points
2,858 views
0 votes
1 answer

How do I assert an element is focused?

Since expect expects to be called with a promise, ...READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
2,836 views
0 votes
1 answer

Getting different texts from the HTML DOM through Selenium and Python

Try Below code: something = elem.find_element_by_xpath('./td[5]') text1 = driver.execute_script('return ...READ MORE

May 14, 2018 in Selenium by Samarpit
• 5,910 points
2,835 views
0 votes
1 answer

New Maven Project Created but Plugin Error Occured. Which Plugin want to install and give solution.

Hi, @Boopathy, On the eclipse shortcut or exe Right ...READ MORE

Dec 24, 2020 in Selenium by Gitika
• 65,910 points
2,834 views
0 votes
1 answer

What are the different ways of invoking TestNG?

@Jeetu, TestNG can be invoked in following ...READ MORE

Jun 19, 2019 in Selenium by Abha
• 28,140 points
2,833 views
0 votes
1 answer

How can I store data into a cookie using Selenium Webdriver?

Hey Abhilasha, we can load a website ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
2,809 views
0 votes
1 answer

what is hybrid framework in selenium?

Hybrid Driven Framework is a mix of ...READ MORE

Feb 4, 2022 in Selenium by Bhavitha
• 1,000 points
2,808 views
0 votes
1 answer

How to insert a file in Attach File in Gmail by selenium java ?

Hey Siva, to insert a file in ...READ MORE

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

Please tell me the steps to implement selenium in CI/CD pipeline using gitlab ci in GCP cloud. without using jenkins

Check this out https://docs.gitlab.com/ee/ci/examples/end_to_e ...READ MORE

May 14, 2020 in Selenium by Sirajul
• 59,230 points
2,799 views
0 votes
1 answer

Test case not running on TestNG

Hello @Sradha, You are not getting any ...READ MORE

Dec 26, 2018 in Selenium by Trisha
2,799 views
0 votes
1 answer

What are the different methods (APIs) provided by Selenium Webdriver to take screenshot of a webpage?

Hey Hemant, Selenium Webdriver provides 3 different ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
2,794 views
0 votes
1 answer

Is it possible to create a Pytest Fixture which can be shared with other tests?

Hi Prashashti, to create a fixture that ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
2,790 views
0 votes
1 answer

errors when using class names locators. Getting compound classes are not supported

Pretty straight forward..If your class name includes ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
2,784 views
0 votes
1 answer

Locate particular link text among multiple match results while locating web elements in Selenium Webdriver?

Hey Yash, if you want to locate ...READ MORE

Jun 20, 2019 in Selenium by Pratibha
2,766 views
0 votes
1 answer

How to record popup windows with selenium IDE

If the popup window has a name ...READ MORE

Apr 7, 2018 in Selenium by nsv999
• 5,500 points
2,755 views
0 votes
1 answer

Getting android.webkit.WebView contents as a String using Appium

Below will help you: public final String WEBVIEW ...READ MORE

Aug 6, 2018 in Selenium by Samarpit
• 5,910 points
2,745 views
0 votes
1 answer

Using partial Id in Selenium WebDriver

You can use CSS Selector for this, ...READ MORE

May 28, 2018 in Selenium by Meci Matt
• 9,460 points
2,743 views
0 votes
1 answer

How to handle a checkbox on a webpage and check its state using Selenium Webdriver?

Hey Chris, to handle a checkbox and ...READ MORE

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

How to run a group of test cases using TestNG in Selenium Webdriver?

Hey Kajal, TestNG allows you to perform ordered ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
2,740 views
0 votes
1 answer

How can I handle untrusted SSL certificate in Firefox using Selenium Webdriver?

Hello Vartika, you can handle Untrusted SSL ...READ MORE

Jun 4, 2019 in Selenium by Anvi
• 14,150 points
2,734 views
0 votes
1 answer

How to find the absolute xpath of an element?

You can use the tool called chroPath ...READ MORE

Jan 7, 2019 in Selenium by Anjali
• 2,950 points
2,731 views
0 votes
1 answer

How to import TestNG in Eclipse for Selenium?

Hi Charu, to install TestNG framework in ...READ MORE

May 17, 2019 in Selenium by Abha
• 28,140 points
2,727 views
0 votes
1 answer

How to start headless chrome in incognito mode?

You are missing a single -... "--incognito" READ MORE

Aug 13, 2018 in Selenium by Samarpit
• 5,910 points
2,726 views
0 votes
1 answer

How to get a emailable report using testNG?

After executing the test file that is ...READ MORE

Jan 14, 2019 in Selenium by survi
2,723 views
0 votes
1 answer

Handling pop up in Chrome using Selenium WebDriver

AutoIt Window Information Tool do not recognize ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
2,722 views
0 votes
1 answer

What is the difference between thoughtworks.selenium and openqa.selenium selenium?

thoughtworks.selenium is the original Selenium (aka Selenium 1, ...READ MORE

Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
2,722 views
0 votes
1 answer

What is the importance of testing.xml file?

We use testng.xml file to configure the complete test ...READ MORE

Jan 4, 2019 in Selenium by Tushar
2,705 views
0 votes
1 answer

Is there any way to get Firefox working with Selenium WebDriver on Mac OSX

You can try calling the webdriver with ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
2,690 views
0 votes
1 answer

Getting "Disable developer" mode extensions pop up while using Selenium WebDriver

Try the following java code: System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe"); ChromeOptions chrome ...READ MORE

May 21, 2018 in Selenium by Meci Matt
• 9,460 points
2,688 views
0 votes
1 answer

30 min Wait on a page and then perform any Operation using Selenium Webdriver

Implicit wait tells webdriver to poll the ...READ MORE

Apr 19, 2018 in Selenium by Shubham
• 13,490 points
2,668 views
0 votes
1 answer

How to use Enter/Return Key in Selenium

You can use the below code: import org.openqa.selenium.Keys WebEle ...READ MORE

Apr 18, 2018 in Selenium by Meci Matt
• 9,460 points
2,664 views
0 votes
1 answer

How are 'Selenium-server-standalone.jar' and 'Selenium Client & WebDriver' different from each other?

Okay, your understanding of "Selenium Server" & ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
2,663 views
0 votes
1 answer

How can I locate web elements from a web page using Selenium Webdriver?

Hey @Dushyant, Locating elements in WebDriver is ...READ MORE

May 29, 2019 in Selenium by Shreya
2,653 views
0 votes
1 answer

Need to control the file download dialog box in Mozilla Firefox

Well for Firefox, there is something called ...READ MORE

Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
2,649 views
0 votes
1 answer

Getting error while run the selenium scripts.How can i resolve this issue?

Tq. Yes, it worked for me. READ MORE

Jun 16, 2020 in Selenium by anonymous
2,633 views
0 votes
1 answer

How to upload a resume to a website using selenium in python?

Use this code, this will help you: from ...READ MORE

Apr 20, 2018 in Selenium by Vardy
• 2,360 points
2,627 views
0 votes
1 answer

How to check whether a dropdown support selecting multiple options simultaneously or not in Webdriver?

Hi Shreeram, to determine whether a dropdown ...READ MORE

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

Selenium WebDriver: naukri.com login fails every time

Use the following code after driver.get(URL), String URL1="https://www.naukri.com/nlogin/login"; String ...READ MORE

Jul 24, 2018 in Selenium by Samarpit
• 5,910 points
2,601 views
0 votes
1 answer

Capturing browser logs with Selenium WebDriver using Java?

I assume it is something in the ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,910 points
2,586 views