Previously, I developed Automation tools specifically for Internet Explorer. Now, I need to update these tools to work with "Microsoft Edge" as the default browser. My initial research led me to download the WebDriver included in the Selenium Package. Is ...
On opening the Facebook page in the browser, I am encountering an issue where it fails to click on the "Create New Account" button as expected. I have used the following XPATH for locating the Create New Account button: //a[text()='Create New Account'] Ot ...
This is an example of C# selenium webdriver automation. A script has been developed in C# to run and generate a report on a webpage. There are 10 different links that the user can select to create a report within the page. To replicate this for 10 other li ...
After successfully setting up a browser automation project using Selenium WebDriver on one machine, I encountered issues when trying to run it on another. The browser (Firefox) opens but the automation does not happen as expected. Upon timing out, an error ...
Could there be something wrong with our POM approach? It seems that the pattern commonly used in examples on the internet results in test scripts looking like this: pageObject.doSomethingWithElement(parameters...) However, we find it more natural to stru ...
Hey there! I'm just starting out on my coding journey and I have a cool project idea. I heard about this guy who wrote a script to send a text to his wife when he was working late, and I want to do something similar. Basically, I need a script that can lo ...
Recently, I have delved into the world of Instagram automation in hopes of finding a way to automate likes and comments. After thorough research, I have compiled a list of possible solutions: One option is to utilize a browser automation library such a ...
Suppose I want to enroll in a class on the 'Courses' page. I am testing the functionality of enrolling in classes. Should I access the page by clicking on the menu bar, or should I directly enter the URL of the page? ...
Is there a way to retrieve the id token bearer post-login using selenium webdriver or another framework? Any suggestions would be appreciated. Thank you! ...
Having an issue with Serenity BDD and the Screenplay Pattern in combination with Appium 1.3.1. The problem is that the project is not generating screenshots for each step, resulting in the report not displaying the captures of the steps. Despite no errors ...
I am currently testing out c# with selenium on the website . One of the first steps is to log in to the site. To do this, I located a button named "Вход" in the top right corner using xpath and clicked on it. After the page refreshed and changed, the ...
When logging in with a mobile number on the website, I am prompted to input an OTP. Is there a way to automate the process of retrieving the OTP from the database for login? ...
I encountered an error while trying to run Selenium on Chrome, it said: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. Any advice on how to resolve this issue? The full error message is provi ...
Currently, I am developing an automation tool for a website where the HTML elements do not have IDs. I have heard that xPath and CSS Selector may not be as efficient, so I decided to switch to By.className(). However, I encountered some issues with this ap ...
Categoriesemphasized text Hello Everyone, I am working with a String variable in Python that represents one of 14 categories (electronic, clothes...). My goal is to interact with a specific element on a website that matches my variable. All the categorie ...
When using webdriverIO to retrieve an array of checkboxes within a specific div id, I utilized the following code: browser.elements('div[data-test-id="filter: inventory source"] input[type="checkbox"]').value; The result is as follows: [ { ELE ...
I've searched all over the internet but am still struggling to fix the error I encountered while attempting to run a test script on my testing environment. "The certificate is not trusted because the issuer certificate is unknown. The server migh ...
Currently, I am utilizing Selenium Webdriver for automation in C#. Within my application, upon clicking on a specific link, a frame is opened on top of the main browser window. I am able to successfully read text within that frame and switch to it as neede ...
In my Katalon Studio script, I have a button click command that uses scrollIntoView to bring the button into view before clicking it. ((JavascriptExecutor) functiondriver).executeScript("arguments[0].scrollIntoView({block: \"nearest\"});", butto ...
I am struggling to locate visible elements on a web application page using Selenium. Specifically, I need to identify a clickable row and then click on it. The challenge lies in the fact that these elements are dynamically generated and do not appear in ...
Despite extensive research, I have yet to find a solution that addresses the specific issue at hand. Our team is utilizing Selenium with C#. The main problem we are facing is our inability to control alerts, which may be due to their quick disappearance: ...
I need assistance with running a test script on multiple URLs using both Chrome and Firefox browsers locally on my machine. Each browser must open all the specified URLs in the test script. I have successfully run the test script for multiple URLs, but I a ...
Is there a way to find an element on a web page using Selenium WebDriver with multiple locators simultaneously? I have two elements with the same ID but different values, so I need to combine both the ID and value in order to access them. What would be t ...