How can I view the xpath of a selected element?
I'm checking for a user on a web interface and clicking an edit button in the corresponding table, but the button and table itself are identical and therefore not uniquely identifiable. I can find the...
View ArticleReplicate successful PowerShell SAML request code into Python
I'm trying to perform SAML authentication against the CyberArk Password Vault application. I was given this PowerShell code by CyberArk for performing this SAML authentication, and it works great and I...
View ArticleWeb automation with Java SSO login and Selenium
I'm automating a website, but this website takes the session of the logged-in user via SSO. If I'm already logged in to the email and I access the page, it automatically takes me to the dashboard....
View ArticleChrome driver with Selenium VBA
Weird, after getting answers from here for years on so many topics, this time I cannot find the solution to the problem, therfore I became a member finally.I have Selenium set up & functioning in...
View ArticleSelenium WebDriver new tab and Navigate
Based on this post, I managed to open a new tab, but when I try to navigate in the new tab, the navigation occurs in the old tab.I saw that I should use this:driver.switchTo().window(windowName);but...
View ArticleSwitching to Iframe with rotating ID Selenium
I am trying to access the login iframe from https://www.steelmarketupdate.com/. Previously I was able to access this via XPATHclient.switch_to.frame(client.find_element(By.XPATH,...
View ArticleParse XML file using selenium and bs4?
i try to parse a xml-file using the following code:import timefrom bs4 import BeautifulSoupfrom selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsfrom...
View ArticleResize Chrome's window while using Capybara
I use Capybara (with selenium) and Chrome, and RSpec. But i would like to change width of browser in some tests. What is the solution in this case?spec/spec_helper.rbENV["RAILS_ENV"] ||= 'test'require...
View ArticleSimilar to Python Tkinter but in JavaScript [closed]
Is there any way of doing something similar to Python/Tkinter but in JavaScript?!As soon as i hit the icon, i run my Automation...I've been researching and read something about React and Electron but...
View ArticleRotating Authenticate Proxy In Selenium Using Chrome Driver
I am working on a project which involves scraping tweets using selenium and chrome driver. I want to rotate through authenticated proxy ip's and access "twitter.com" but it is not working. If someone...
View ArticleHow to wait for download to finish using Webdriver
Is there any way to wait for a download to finish in WebDriver?Basically, I want to verify that downloaded file getting stored correctly inside hard drive and to verify that, need to wait till download...
View ArticlePython Selenium - Checkbox Is Not Clicked With Explicit Wait
H, I am trying to click on the below checkbox.<thead class="ant-table-thead" xpath="1"><tr><th class="ant-table-selection-column"><span...
View ArticleUsing `new EdgeOptions()` is preferred to `DesiredCapabilities.edge()` error...
There is one website which I am suppose to test in the remote edge browser by using Selenium in Java. But there is nowhere I can find the code for remote edge browser. Whereas locally I can open the...
View ArticleWhat does Backtrace: Ordinal0 [0x00723AB3+2505395] in stack trace error means...
I'm relatively new to coding and kinda unfamiliar with stacktrace errors.I have been given this error, but im not sure which part of my code do i fix? Did the error comeup because of a...
View Articlecan someone explain why there is a sudden shutdown of chrome?
When I run my chrome automation programme using selenium and webdriverthe chrome opens and suddenly closeshere is my code:from selenium import webdriverdriver =...
View Articlehow to - github two factor authentication with eclipse
I have to use the two factor authentication feature of github. That is fine. I am unable to comprehend how to use that with Eclipse. Whenever I commit my code or perform any activity, the only prompt I...
View ArticleHow do I get element value with GetAttributeAsync in Playwright
I am converting a old Selenium/C# test suite to Playwright/C# and it is going very well apart from one little issue, which is....In the Selenium suite this code correctly returns the value from a text...
View ArticlePython amazon automation Chromedriver discovery error
import unittestfrom selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keysfrom...
View ArticleHow to use shortcuts with RSelenium
How are shortcuts used in RSelenium?In the example below, I use a common shortcut to display the browsing history in Firefox. That is: push and hold Control key + press H key.While the shortcut works...
View ArticleRSelenium: Timeout error while trying to connect to server running on docker...
This problem seems to be relatively common but none of the fixes I have seen work for me.I am using 64 bit Windows 10.I am trying to use RSelenium using docker. I have been trying to roughly follow the...
View ArticleHow do I write Visual Studio testlog during Azure Pipeline and save as a...
So we have numerous pipelines that run Selenium or Playwright tests overnight.The test suites are built using C# with selenium or Playwright and MsTest.The end result does not display the actual steps...
View ArticleSelenium Manager installs x86-64 in Docker on Raspberry Pi (ARM64) — How to...
I have a dotnetcore application that uses selenium to click a button.It runs in a docker.I would like to run this docker on my raspberry pi5For this i install chromium in my docker like this: RUN apt...
View ArticleSelenium instantly crashes when running in Docker container
I'm encountering an issue when trying to run a selenium script in a docker container, I've spent quite a while going back and fourth with several AI's and none could fix it, I'm attaching the message...
View ArticleSelenium does not work (error) when running via nohup on the server
When I run the script on a local PC, everything works, but when I run the script on the server (nohup), errors. The driver version is the same as the program version....
View ArticleFailed to connect Couldn't register this node: Error sending the registration...
Selenium hub is up and running on Windows desktop, set up Windows VM to be node. Node won't register to hub. Step 1:Entered command in Windows Desktop: java -jar selenium-server-standalone-3.14.0.jar...
View ArticlesetUp method: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on...
When I am running Selenium-Webdriver scripts in Eclipse, it works fine. But the same scripts are running in jenkins in server machine, it is giving the following error:18:00:34...
View ArticleHow to scroll in Instagram following window using Selenium and Python?
How would I scroll in the following window on Instagram using Selenium and Python? I've tried everything I've found and none of them work.Here's what I have to get me to the following window:from...
View Article