Trending questions in Selenium

+11 votes
17 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
143,555 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,930 points
72,622 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
69,910 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
61,225 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
66,737 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
62,484 views
0 votes
3 answers

How do I resolve the ElementNotInteractableException in Selenium WebDriver?

Hi Abish, ElementNotInteractableException occurs when an element is ...READ MORE

Aug 21, 2019 in Selenium by Abha
• 28,040 points
51,419 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
58,624 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,480 points
44,736 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
52,738 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,070 points
45,605 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,480 points
35,527 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,070 points
31,251 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
44,263 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,480 points
35,946 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
27,843 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
31,427 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,930 points
30,581 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,930 points
12,101 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,480 points
21,596 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
20,817 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
24,164 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,930 points
21,854 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
37,282 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,610 points
7,774 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
10,421 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,070 points
26,367 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,930 points
4,096 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
23,984 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
28,257 views
0 votes
1 answer

How to input text in the text box without calling the sendKeys()?

Hi Rohan, you can use Javascript Executer ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,040 points
26,704 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,930 points
1,552 views
0 votes
1 answer

How to open chrome default profile with selenium?

Try the following code. System.setProperty("webdriver.chrome.driver","C:\\chromedriver.exe"); ChromeOptions options = new ...READ MORE

Aug 11, 2020 in Selenium by Sirajul
• 59,070 points
6,831 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
748 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,930 points
946 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,070 points
284 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
32,863 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
227 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,930 points
1,743 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
859 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
242 views
0 votes
1 answer

What is the primary difference between the XPath and CSS selector?

Hello Ushma, the primary difference between XPath ...READ MORE

Jun 23, 2019 in Selenium by Anvi
• 14,150 points
23,971 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,930 points
155 views
0 votes
1 answer

How do I find an element that contains specific text in Selenium WebDriver (Python)?

Try the following: driver.find_elements_by_xpath("//*[contains(tex ...READ MORE

Nov 26, 2020 in Selenium by Gitika
• 65,930 points
1,303 views
0 votes
2 answers

Get text using selenium web driver in python

text = driver.find_element_by_class_name("current-text").getText(); ...READ MORE

Feb 4, 2019 in Selenium by anonymous
34,702 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,930 points
414 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,930 points
395 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
96 views