Trending questions in Selenium

0 votes
1 answer

How to take Screenshot of a webpage in Selenium with Ruby

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

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
1,422 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,278 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,827 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,506 views
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
897 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,634 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,117 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,399 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,712 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,229 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,046 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,875 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,499 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
663 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,556 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,377 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,943 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,820 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,252 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,897 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,297 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,490 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,423 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,980 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
756 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
2,011 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,643 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,261 views
0 votes
1 answer
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,315 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,927 views
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,642 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,687 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,908 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,238 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
679 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,897 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,251 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,335 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,378 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,145 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
3,021 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,476 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,675 views
0 votes
1 answer

How can I select the drop down date section using selenium?

First thing that you need to do ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
11,320 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,987 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,303 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,180 views
0 votes
1 answer
0 votes
1 answer

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

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

May 9, 2019 in Selenium by Pratibha
• 3,690 points
5,171 views