Selenium Edge add network capabilities in .Net
I want to get access to the Network in Dev Tools, while using the Edge webdriver.$Options1= [OpenQA.Selenium.Edge.EdgeOptions]::new()I tried something like...
View ArticleHow to switch to new window in Selenium for Python?
I am working on selenium automation project using Python.I am facing an issue, which is handling multiple browser windows.Scenario is as follows. When I click a link on the home page, a new window...
View ArticleTestNg Assert.AssertTrue Always returns False - Selenium Webdriver
I have a util function as below:public static boolean isWebElementEnabled(WebElement element) { try { return element.isEnabled(); } catch (Exception exx) { return false; }}public static boolean...
View ArticleSelenium Error - The HTTP request to the remote WebDriver timed out after 60...
I've been using Selenium for a number of months, which we're using to automate some of our internal testing processes. The scripts have been passing fine. I've recently upgraded to the C# 2.40.0...
View ArticleSelenium webdriver - implicit wait with chrome driver
I want to use implicit or explicit wait in my code. But it is not working with chrome driver. Is any special patch is available to work? But same is worked with firefoxdriver. My application supports...
View ArticleSelenium webdriver throwing timeout exception
I am new to Selenium. My issue is that I'm trying to click an element but Selenium is throwing a timeout exception, even if I increase the timeout value. Do I need to use xpath instead of id?The HTML...
View ArticleHow To Send "Enter Key" via JavaScript in Selenium using "executeScript"
I'm working on automating a flow using IE 11 with Selenium and Java, on this web page I need to put a value in Text Box and then press Enter. I'm able to put the values using below code - // Here Box...
View ArticleSelenium WebDriver gets stuck after .get() method
I'm using Selenium to download several PDFs. To access the PDFs I use the .get() method of the WebDriver and instead of opening the preview I download the PDF directly through FirefoxProfile settings....
View ArticleA process has requested access to an object, but has not been granted those...
I am trying to scrape the contents of a webpage. My code works on a Windows 7 machine that has the same versions of the drivers as my Windows 10 machine. When I run it on windows 10, it opens a...
View ArticleHow to load firefox profile with Python Selenium?
I'm trying to get Python Selenium to work on my Windows Machine. I've upgraded to the latest versions of Firefox, Selenium, Geckodriver, but I still receive the below error: Python Scriptfrom selenium...
View ArticleSelenium - Wait for the ScrollIntoView to finish
I need to scroll to an element and take a screenshot of the page but the driver takes the screenshot before the page is completely scrolled to the element. I've used a time sleep in this...
View Articlehow to call function/method form one class to another class in selenium...
I want to call login and search method from two different class into the main class. I have written the two diff classes for login and search but when I am calling both method in class containg main...
View ArticleHow to check if link still the same?
I want to check if this link still valid or nothttps://www.udemy.com/course/artificial-intelligence-in-digital-marketing/?couponCode=DIGITALMARKETING, as once this coupon expires it would turn me to...
View ArticleMessage: session not created: probably user data directory is already in use,...
Ошибкавкоде, пытаюсьзахоститьприложениечерездокерВсёустановила, версиипроверила, удаляювеськэшипрочее, нокакпочинитьнепонимаю. Выдаетошибку:backend-1 | Skipping virtualenv creation, as specified in...
View ArticleExecution order of test cases in Cucumber
Below is the structure how my Feature Files are divide. I have created Folders based on the functionalities and then added the scenarios inside them.Now, I have to tag few test cases among them as...
View ArticleAutomate Facebook sign up process using selenium using java, but not able to...
I am unable to click on "Create an account" button on facebook login page. We cannot store the radio button into List as there is not separate web element as Gender. public static void main(String[]...
View ArticleUndetected chrome driver doesn't work in odoo model
I am trying to scrap a website from a model in odoo. It get executed using an action button.I am using Docker to contain the app.However the driver never worked for me, even with normal selenium so I...
View ArticleLearning to use Assert and Asserttrue in Python for selenium web driver
Im trying to make a python webdriver to load a webpage and then assert true and run a print command if a text or object is there, and if not I want it to just continue running my loop. Im a noob to...
View ArticleHow to read text from hidden element with Selenium WebDriver?
I'm trying to read the example String 1000 out of a hidden <div> like this:<div id="hidden_div" style="visibility:hidden">1000</div>I am aware that WebElement.getText() does not work...
View ArticleRunning Jenkins agent through terraform userdata script, which makes the...
I have a PowerShell script which is passed as user data script in terraform for Windows Server 2022 VM creation in AWS cloud. This PowerShell script uses Jenkins API to create the node and connect the...
View ArticleGetting element using re.compile with bs4?
i try to find a span element using selenium and bs4 with the following code:import refrom bs4 import BeautifulSoupfrom selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsfrom...
View ArticleHow to get exact date from Linkedin's post while inspecting site with selenium?
i am using selenium chrome driver to scratch Linkedin's profile. I am doing analysis for my post.It is the way to get exact date from Linkedin's post in format "dd.mm.yyyy" instead of "1 month ago", "2...
View Articleunknown error: cannot determine loading status from disconnected: Unable to...
I am following a tutorial on how to create and run java selenium scripts both locally and on a jenkins server using maven and eclipse.My script is pretty basic and runs fine locally when ran through...
View ArticleSelenium with .NET: invalid element state: Element is not currently...
I am trying to read a value from . Here is the HTML code:<select name="user_type" id="user_type" class="select"><option value="0">Select</option><option value="1"> Admin...
View ArticleSelenium - Is it okay to mix implicit wait and explicit wait like this?
Here is a udemy course (from "Lets Kode It") to develop a web automation framework with selenium and Java. But, this is not a java question. You only need to know selenium in any of these languages -...
View ArticleHow do I get a list of child elements using winappdriver in a win32 application?
I am using WinAppDriver (using NUnit and C#) to test some legacy win32 Applications.As I debug the tests, I reach certain points where I need to see a list of all child elements of the selected...
View ArticleGet html of inspect element source with selenium
I'm working in selenium with Chrome.The webpage I'm accessing updates dynamically. I need the html that shows the results, I can access it when I do 'inspect element'.I don't get how I need to access...
View Article