Trending questions in Selenium

0 votes
1 answer

how to click on a ref link on Selenium C3

To click on a href link using ...READ MORE

Sep 5, 2019 in Selenium by Abha
• 28,140 points
871 views
0 votes
1 answer

How to get the select options using Selenium WebDriver in Java

Hey there! You should be able to get ...READ MORE

Jun 14, 2019 in Selenium by Surya
• 970 points
4,465 views
0 votes
1 answer

How to write regular expression In testng.xml file to search for specific keyword.

Hi Joginder, you can write regular expression ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
4,226 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,770 views
0 votes
1 answer

How to minimize a browser window using Selenium Webdriver?

Hello Kashmira, to minimize a browser window ...READ MORE

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

Does Selenium WebDriver Support Record And Playback Facility?

Hi Gurminder, Selenium Webdriver doesn't support Record ...READ MORE

Jul 3, 2019 in Selenium by Emraan
3,582 views
0 votes
2 answers

When executing my Jenkins tests with Selenium WebDriver, I do not see a GUI.

Hi eLiJha, I also faced the same issue ...READ MORE

Jul 15, 2019 in Selenium by nayan
• 160 points
12,484 views
0 votes
1 answer

How to run a test case on remote webdriver using ruby selenium?

Hey Dhanush, you can follow the below ...READ MORE

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

What are the benefits and drawbacks of using Test Driven Development in Automation testing?

Hi Sharon, Test Driven Development (TDD) is an iterative ...READ MORE

Aug 5, 2019 in Selenium by Anvi
• 14,150 points
2,198 views
0 votes
1 answer

How to switch between two windows in browser using Selenium java

Yes, this is possible. First, you need ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
15,674 views
0 votes
1 answer

What is Marionette driver and how it can be used to instantiate Firefox webdriver?

Hey Manju, Marionette driver is the new driver ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
3,009 views
0 votes
2 answers

What is cross browser testing?

Cross browser compatibility is the ability of ...READ MORE

Mar 25, 2019 in Selenium by Frankie
• 9,830 points
644 views
0 votes
1 answer

How can I resolve NoSuchElementException error thrown by findElement function in Selenium Webdriver?

Hello Dinesh, this error usually occurs when ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
3,466 views
0 votes
2 answers

What is a headless browser in automation testing and what are it's benefits?

Hi Sanaya, a headless browser is a web browser ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
3,832 views
0 votes
1 answer

How to navigate to a web URL using IE driver in Python Selenium?

Hello Neelam, to navigate to a web ...READ MORE

May 16, 2019 in Selenium by Pratibha
• 3,690 points
5,503 views
0 votes
1 answer

How to count words in notepad File using Selenium

To perform character count. String fPath="D:/MyTextFile.txt"; int fileCharactersCount=Files.readAllBytes(new File(fPath).toPath() ...READ MORE

Aug 7, 2019 in Selenium by neerajv
• 170 points
1,891 views
0 votes
1 answer

What is setScriptTimeout() command in Selenium Webdriver?

Hey Larry, as per the official definition:  setScriptTimeout() ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
3,318 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,788 views
0 votes
1 answer

What is the use of Pytest with Selenium Webdriver?

Hi Abhinav, Pytest is a testing framework ...READ MORE

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

What are the benefits of using Junit testing framework?

Hi Prakhar, some of the benefits of ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
4,263 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,818 views
0 votes
1 answer

How can you run Selenium test cases on Jenkins?

You can use recorded Selenium IDE script ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
3,467 views
0 votes
1 answer

How to run test cases in headless mode using Phantom JS?

Hi Bhanu, you can run test cases ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
1,398 views
0 votes
1 answer

How can I perform multiple selection of options in a dropdown using Select class in Selenium?

Hey Priyansh, you can select multiple options ...READ MORE

Jul 8, 2019 in Selenium by Anvi
• 14,150 points
2,944 views
+1 vote
1 answer

Locator issue for changed frame.

Hi ADS, can you please share your ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
703 views
0 votes
1 answer

How to perform double click using mouse actions in Selenium with Python?

Hi harsh, you can use ActionChains() class ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points
1,975 views
0 votes
1 answer

How to capture source code of a webpage in Selenium using Python?

Hi Hansika, you can capture the source ...READ MORE

Jul 24, 2019 in Selenium by Anvi
• 14,150 points
2,226 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,601 views
0 votes
0 answers

Execute two separate test cases in the same browser instance using TestNG xml file

I have two testcases in two separate ...READ MORE

Jul 23, 2019 in Selenium by Jimmy
• 130 points
2,286 views
0 votes
1 answer
0 votes
1 answer

Double click in Selenium using Python

Hey there! As far as I know, ...READ MORE

Mar 20, 2019 in Selenium by Surya
• 970 points
7,622 views
0 votes
1 answer

How to print all google suggestions for a keyword using Selenium Webdriver?

Hello Cherry, below is the automation script ...READ MORE

May 23, 2019 in Selenium by Abha
• 28,140 points
4,865 views
0 votes
1 answer

Can I run TestNG using Command Prompt?

Hey Himanshi, you can run testNG with command ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
3,651 views
+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,862 views
0 votes
1 answer

Is there any alternate way of refreshing a web page other than refresh() method in Selenium?

HI Parineeti, to refresh a webpage, we ...READ MORE

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

What is the use of Steps in Cucumber tool?

Hi Darshan, Steps are basically the Sequences ...READ MORE

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

Can anyone help me with Zomato login test script using Python Selenium Webdriver?

Hi Laxmikant, if you want to write ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,150 points
1,864 views
0 votes
1 answer

How to pause a test execution for 5 seconds at a specific point in Selenium?

Thread.sleep(5000); READ MORE

Jul 18, 2019 in Selenium by masood
3,288 views
0 votes
1 answer

How to automate radio button and checkbox on a webpage in Selenium Webdriver?

Hey Yashmita, following code snippet automates the ...READ MORE

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

What is a Window Handle in Selenium Webdriver?

Hi Fardeen, a Window Handle is a unique ...READ MORE

May 13, 2019 in Selenium by Sharath
5,170 views
0 votes
1 answer

How to drag a web element using Selenium Webdriver?

Hey @Kritika, you can use Actions class ...READ MORE

Jul 2, 2019 in Selenium by Ashwin
2,994 views
0 votes
1 answer

How to download and install Maven to integrate with Selenium?

Hey Henry, follow these steps to download ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
2,303 views
0 votes
0 answers

How do you get all the child elements in Selenium WebDriver?

I'm currently working on Selenium with Python. ...READ MORE

Jul 15, 2019 in Selenium by Vaishnavi
• 1,180 points
2,458 views
0 votes
3 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi ,  Yes, you can use headless browsers ...READ MORE

Sep 2, 2020 in Selenium by Sri
• 3,190 points
3,603 views
0 votes
1 answer

How can I perform multi-browser testing using Selenium TestNG?

Hi Nutan, you can use TestNG to ...READ MORE

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

How can I integrate Selenium with Maven project?

Hey Vicky, follow these steps to integrate ...READ MORE

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

How to get all options of a dropdown on a webpage using Selenium Webdriver?

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

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

Can anyone suggest how can I restore cookies in new browser window using Webdriver?

Hey Akshay, following code snippet would help ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
918 views
0 votes
1 answer

Can anyone tell what are Parametermized Fixtures and what are its usage?

Hey Varhsa, Parameterized Fixtures are used to execute ...READ MORE

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