AWS Lambda Chrome Driver is no longer running [duplicate]
This question already has an answer here:CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x2726) when trying to access chromedriver through network path 1 answerI managed...
View ArticleHow to move to element and press on in mob app
How to move to element, that not visible on the screen using xpath and then click on it in mobile app? This element located in the bottom, so need to swipe up.
View ArticleHow to loop csv rows to the selenium elements using Python?
I am trying to loop csv rows into the selenium elements but program takes all rows and putting them into elements.Here is the code def send_keys_textboxes(self,url): bot = self.bot bot.get(url) data =...
View ArticleI created a page object model but my login page is null. How can I fix that?
Here is my error:java.lang.NullPointerException at com.InsurancePlanes.Testcases.LoginPageTest.tearDown(LoginPageTest.java:48) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native...
View ArticleFor loop fetching all values except one value
I am trying to fetch all the values with the help of for loop except one value its printing other all 541 values. This code //div[3]/table/tbody/tr[*]/td[contains(text(), '' )][3] giving me 542...
View ArticleExtent Report 4 - Merge Cucumber reports
I have a Runner class which launches all my features. I am able to generate the Extent Report with Junit runner class. Following is my Runner for running all the features:@RunWith(Cucumber.class)...
View ArticleChrome is not opening the url by using GoToUrl Method
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; namespace SeleniumAuto_test_ { [TestClass] public class UnitTest1 { [TestMethod]...
View ArticleHow to check if element contains specific class attribute
How can I check if a selenium web element contains a specific css class.I have this html li element <li class="list-group-item ng-scope active" ng-repeat="report in lineageController.reports"...
View ArticleHow to handle an variable that returns null inside an Assert
I'm hustling around with selenium and having a little hard time with my Assert. I have something like this._request = new RestRequest($"applications", Method.GET); var result =...
View ArticleNot able fetch the text from svg tag
/html[1]/body[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[4]/div[1]/div[1]/div[5]/div[1]/div[*]/div[2] -- this XPath giving me 4 div tag, i have expanded here last 2 tags. These are...
View Article"Listen" for a selector Laravel Dusk
I am currently working to improve some Dusk browser tests that are run against some software provided by a 3rd party vendor. The software in question has a tendency to timeout...when that happens, the...
View Articlehow to handle swal alert popup in selenium using java....?
how to handle sweet alert popup in selenium(java) -> click on submit button in popup then redirect to next pageenter image description hereenter image description here
View ArticleLocate/click and insert a date on a dropdown-toggle with ng-if Angular
I'm trying to click on this calendar and insert a date automatically using selenium, but I got the error below:invalid element state: Element must be user-editable in order to clear it.HTML...
View ArticleHow to get text generated by JS in Selenium?
I am trying to get the text "Incorrect Credentials" which is placed on page (js) when the user enters an incorrect user name and password...login_button.click() self.driver.implicitly_wait(10) #...
View ArticleIs it possible to grab source code from a web page and change it with...
This question already has an answer here:How to automate shadow DOM elements using selenium? 2 answersHow to interact with the elements within #shadow-root (open) while Clearing Browsing Data of Chrome...
View ArticleSelenium get element in C#
I'm trying to get number in small tag in HTMLHtml code:... <div class="form-group col-sm-12"> <label>Amount</label> <input type="number" name="amount" class="form-control"...
View ArticleSelenium : Selecting elements with similar properties using sequence
Need some help with the selenium script i'm writing using c#. I'm trying to click an element by the using "class" property but the issue is, there is another similar element that shares the exact same...
View ArticleA while loop with Try Catch throws exceptions after loop ends
I am making unit tests using selenium and nunit in C# these tests are running on chrome firefox and internet explorer. It is kind of a weird issue to describe. I have a method i use to loop things...
View ArticleParallelizing Selenium tests and being thread safe
I am trying to parallelize my Selenium tests. I discovered that Selenium's IWebDriver is not thread safe. I don't know if there are serious dangers to not having thread safe tests, but I'd like to try...
View ArticleHaving a hard time clicking on a radio button that activates a drop down....
SO normally I don't have a hard time with radio buttons but I was trying to configure the web browsers set home page to custom URL from the chrome settings. I knew I would have to activate the drop...
View Article