Trending questions in Selenium

+11 votes
16 answers

How to automate gmail login process using selenium webdriver in java?

Check the below code: Here is the working ...READ MORE

Apr 24, 2018 in Selenium by Vardy
• 2,360 points
136,808 views
0 votes
8 answers

How to open a link in new tab of chrome browser using Selenium WebDriver?

This below code works for me in ...READ MORE

Dec 13, 2020 in Selenium by Gitika
• 65,870 points
65,743 views
+1 vote
5 answers

Getting this error: “Element is not clickable at point”

There are 3 possible solutions for this: 1. ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
66,709 views
0 votes
4 answers

Selenium Exception error -Element is not clickable at point (x, y). Other element would receive the click

If waitings for element, sleeps and oher ...READ MORE

Dec 12, 2019 in Selenium by Douglas
56,978 views
0 votes
6 answers

How to specify "ENTER" button functionality in Selenium WebDriver code?

using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE

Feb 12, 2019 in Selenium by anonymous
59,418 views
+1 vote
4 answers

Error: selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH

You can also handle this error with ...READ MORE

Nov 27, 2018 in Selenium by Srujan
58,331 views
+3 votes
6 answers

Verifying whether an element present or visible in selenium Webdriver

Below code will help you: To check Element ...READ MORE

Apr 17, 2018 in Selenium by king_kenny
• 3,710 points
53,158 views
0 votes
3 answers

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

ElementNotInteractableException ElementNotInteractableException is the W3C exception which is ...READ MORE

Dec 13, 2020 in Selenium by Gitika
• 65,870 points
42,787 views
0 votes
6 answers

How to get text found between span – selenium

The text "Search Zone" is not part ...READ MORE

Feb 28, 2019 in Selenium by Trying to Figure
47,805 views
0 votes
3 answers

How to close active/current tab without closing the browser in Selenium-Python?

While doing stuff with selenium multiple browsers ...READ MORE

Dec 13, 2020 in Selenium by Roshni
• 10,420 points
37,332 views
0 votes
5 answers

How to use JavaScript in selenium to click an Element?

WebElement element = driver.findElement(By.id("id")); JavascriptExe ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,010 points
40,713 views
0 votes
3 answers

How to print text from a list of all web elements with same class name in Selenium?

Try using List <WebElement> to access all similar elements ...READ MORE

Dec 16, 2020 in Selenium by Roshni
• 10,420 points
30,234 views
+2 votes
3 answers

Error occurred during initialization of boot layer java.lang.module.FindException: Module Selenium not found

This might probably be coz while creating ...READ MORE

Nov 27, 2019 in Selenium by Sirajul
• 59,050 points
26,559 views
0 votes
5 answers

How to scroll down a webpage in selenium using Java?

 to scroll up or down with Selenium, a JavaScript executor is a ...READ MORE

Dec 15, 2020 in Selenium by Roshni
• 10,420 points
32,477 views
+1 vote
4 answers

Need to wait until page is completely loaded - Selenium WebDriver

You can try something like -  new WebDriverWait(firefoxDriver, ...READ MORE

Dec 20, 2019 in Selenium by Robin
38,347 views
0 votes
3 answers

What is the difference between relative and absolute XPath?

Absolute Xpath: It contains the complete path ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
26,967 views
0 votes
4 answers

How to setup Chrome driver with Selenium on MacOS?

Hi Nushrat, In MacOs follow the steps and ...READ MORE

Aug 9, 2020 in Selenium by Shipra
22,278 views
0 votes
5 answers

Moving mouse pointer to a specific location or element using C# and Selenium

n order to perform a 'mouse hover' ...READ MORE

Dec 16, 2020 in Selenium by Gitika
• 65,870 points
27,497 views
0 votes
3 answers

What are the different ways to select an option from a dropdown using Selenium Webdriver?

So follow this steps for solution: First click ...READ MORE

Dec 15, 2020 in Selenium by Roshni
• 10,420 points
18,118 views
+1 vote
4 answers

How to get typed text from a textbox by using Selenium Webdriver?

Hey Ashmita, to get the typed text ...READ MORE

Jun 24, 2019 in Selenium by Abha
• 28,040 points
17,961 views
0 votes
2 answers

How to maximize or minimize a browser window using Selenium webdriver with Python?

from selenium import webdriver # get initial window ...READ MORE

Apr 1, 2020 in Selenium by Rajavenkatesh
21,471 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
36,681 views
0 votes
1 answer

How to resolve this error? Element not interactable ...Any solution?

Hi, @Faha, ElementNotInteractableException: Element is not reachable by ...READ MORE

Nov 24, 2020 in Selenium by Gitika
• 65,870 points
4,669 views
0 votes
3 answers

How to install TestNG in eclipse?

Installing TestNG in Eclipse Step 1) Launch Eclipse. On the ...READ MORE

Dec 11, 2020 in Selenium by Gitika
• 65,870 points
19,035 views
0 votes
2 answers

Check that the element is clickable or not in Selenium WebDriver

Hi , you want to know only is ...READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,010 points
24,654 views
0 votes
1 answer

Find div element by multiple class names?

I don't think Barak manos's answer has ...READ MORE

Dec 4, 2020 in Selenium by Gitika
• 65,870 points
2,058 views
0 votes
1 answer

import org.openqa.selenium.* shows compilation error - The package org.openqa.selenium is not accessible even though I have added the external jar files in the class path.

Here's what you can try  Either keep only selenium-server-standalone-3.141.59.jar as ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,590 points
4,559 views
+1 vote
1 answer

Avoid bot detection not working with Selenium

Looks like the website is protected by Bot Management service ...READ MORE

Jul 28, 2020 in Selenium by Kim
7,449 views
0 votes
2 answers

How to save as PDF on Chrome using Selenium

Vaishanvi, Select  ID  selected dropdown or it ...READ MORE

Feb 21, 2020 in Selenium by Abdul
21,659 views
0 votes
0 answers

why it is calling as a regresssion is there any reason

Hi Team, i have attended interview for microsoft ...READ MORE

Jan 7 in Selenium by Sri
• 3,010 points
183 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
26,434 views
0 votes
0 answers

How to handle "Plugin blocked" pop up using selenium python ?

I am trying to automate web application ...READ MORE

Jan 4 in Selenium by kiran
• 120 points
150 views
0 votes
1 answer

Error occurs while creating new maven project and could not resolve archetype

Hello, @Boopathy, I had the same problem. I ...READ MORE

Dec 30, 2020 in Selenium by Reshma
326 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,870 points
536 views
0 votes
2 answers

" Can't connect to any repository" While pushing to github.

Hey, @Boopathy, Go to Window -> Preferences -> Team ...READ MORE

Dec 24, 2020 in Selenium by Gitika
• 65,870 points
319 views
0 votes
0 answers

How do I keep a session alive for long Selenium scripts in automation?

I am automating a task with Selenium ...READ MORE

Dec 16, 2020 in Selenium by AYUSHI
• 120 points
591 views
0 votes
0 answers

For conditions 2 and 3 getting error Class cast exception. Any solution?

public class ScrollingPage { public static void main(String[] ...READ MORE

Dec 25, 2020 in Selenium by faha
• 360 points
160 views
0 votes
1 answer

Why Selenium IDE is not used for dynamic Website testing?

Hi, @Sabu, Selenium IDE is a Mozilla Firefox plugin, which ...READ MORE

Dec 23, 2020 in Selenium by Gitika
• 65,870 points
90 views
0 votes
0 answers

I want to navigate to f drive location through selenium webdriver

I want to navigate to f drive ...READ MORE

Dec 22, 2020 in Selenium by anonymous
• 120 points
82 views
0 votes
1 answer

Error as the previous one for sikuli upload

@Faha, This error message... JavaScript error: resource://gre/modules/XULStore.jsm, line 66: ...READ MORE

Dec 15, 2020 in Selenium by Gitika
• 65,870 points
296 views
0 votes
1 answer

Is there a way to get element by XPath using JavaScript in Selenium WebDriver?

You can use the document.evaluate: Evaluates an XPath ...READ MORE

Nov 26, 2020 in Selenium by Gitika
• 65,870 points
1,068 views
0 votes
1 answer

Sikuli file upload, even after writing the correct script getting error. Any solution?

Hey, @Faha, This error message... JavaScript error: resource://gre/modules/XULStore.jsm, line ...READ MORE

Dec 15, 2020 in Selenium by Gitika
• 65,870 points
278 views
0 votes
0 answers

i want to create a generic method it should call when tescase is failed

Hi , i want to create a generic ...READ MORE

Dec 17, 2020 in Selenium by Sri
• 3,010 points
44 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,870 points
510 views
+4 votes
2 answers

Can we get the HTTP Response Code in Selenium with Java?

It is indeed possible to get http ...READ MORE

Apr 20, 2018 in Selenium by king_kenny
• 3,710 points
31,625 views
0 votes
0 answers
0 votes
1 answer

How to get HTTP Response Code using Selenium WebDriver?

You can use BrowserMob proxy to capture ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,870 points
505 views
0 votes
1 answer

While lunching chrome browser in eclipse in selenium

Hi, @There, set webdriver.chrome.driver instead of webdriver.chromedriver.driver System.setProperty("webdriver.chromedriver.driver", ...READ MORE

Dec 7, 2020 in Selenium by Gitika
• 65,870 points
100 views