C# Selenium Webdriver- How to hide openfiledialog?
I have a small application written in C#, with Selenium webdriver (Chrome). I use this app to fill some textboxes and select some pictures to upload on a webpage.The website wasn't designed by me, so I...
View ArticleHow do i click on the link while using selenium python
I'm new to python and selenium. This is an HTML snippet of the page im trying to scrap a page this I want to scrape on the basis of data-attr1 given in the html snippet. Please share some code to find...
View ArticleError :Cannot instantiate the type Select in selenium webdriver
I am testing a website with selenium webdriver. I have imported all the jar files also, but still could not use Select Class in eclipse. It gives me an error: Select class cannot be instantiated. I...
View ArticleSelenium for Edge in Build 18362 or higher
I am having a difficult time with the webdriver for Edge. I know that the driver is installed via the command DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0. But what...
View ArticlePython protection settings IE
I am facing a problem automating the protection settings in IE using Selenium with python.I found a solution to automate the settings in java but it is not working when i changed it to python .I tried...
View Articleneed to run one slot of test with moible android action and web browser actions
I try to test apk mobile wih interaction with web service: - do some actions in the apk - check the synchronization in web browser I use appium and selenium but cannot create a single test (using java,...
View ArticleTake a scenario failure screenshot
In my automated tests using Ruby / Capybara / Cucumber / Selenium, it is necessary that when some step of my test fails, the following steps will be performed: - Take a browser screenshot - Image of...
View ArticleRestart script when error happens and continue with right line in csv file
hi guys its my first time to ask help here i hope you can help me i have this code that i write it def my_function(): try : with open('file.csv', 'r') as f: data = list(csv.reader(f, delimiter=',')) i...
View ArticleTwo browsers are opening automatically in selenium
The following is my code. One browser opens blank and another opens google. I am using the latest version of chrome driver. Thanks in advance.public class Trials { public static void main(String[]...
View ArticleHow to handle IE browser with Zoom other than 100%?
Some of the teams are using IE for which we added ie capabilities including the one specified below: cap.setCapability("ignoreZoomSetting", true);Now if my zoom is set to 100%, I don't face any issues...
View Articlehow to select the value from "Span Type dropdown" in Selenium webdriver
how to select the value from "Span Type dropdown" in Selenium webdriverI am able to click on dropdown by using XPath but not able to select the value from the dropdown. My XPath for clicking on...
View ArticleScrolling pdf file which is opened in child window by using selenium java
I came across one scenario where i need to scroll up and down pdf file which is opened in the child window.
View ArticleFindElement() throws System.ArgumentException using Selenium through C#
This is my first Question here, so please bare :) I am trying to get the Selenium Webdriver to wait until an Element is visible, if not it should use the else. This is my code, throwing...
View ArticleCheck for the alert in selenium VBA
I am trying the following codePrivate bot As New Selenium.ChromeDriver Sub Test() Dim arr(), ws As Worksheet, i As Long Const NO_JS_PROFILE As String = "C:\Users\Future\AppData\Local\Google\Chrome\User...
View ArticleWhat is Selenium and what is WebDriver?
What is Selenium? When you open the official page of the Selenium, the first thing you read is "Selenium automates browser" in "What is Selenium?" section. The section "Which part of Selenium is...
View ArticleHow does static Webdriver work? Code provided following
public static WebDriver driver = new FirefoxDriver(); how does this work?I havent declared system.setproperty() but the code runs perfectly , i dont undestand how it works
View ArticleFinding element by "data-reactid" on Yahoo! Finance [closed]
I am writing a python program to evaluate stock prices. I'm using this page on Yahoo! finance to get my stock informaiton. I want to be able to get the top five listings'stock symbol on the top gainers...
View ArticleSelenium Python 3 TypeError: rect is undefined
So i have been trying to fill in text in google.com and press left mouse button on the search button (I know i can fix this by pressing enter on google.com but my real project requires me to press left...
View ArticlepyTesseract not outputing text from image
maybe someone could help me! When I run the following codeimport pytesseract from pytesseract import image_to_string from PIL import Image import PILfile =...
View ArticleHow to click on a td class in selenium python
I'm using Selenium in Python and i've got some issues. From a websites, there's a calendar where users have to manually click on the date.My issue is I'd like to click on a specific date with the...
View Article