menu

taiko

A node.js library to automate chrome/chromium browser

Channels
Team
Posts
Members
Info

replace properties of selected element

is there a way to replace properties of an element I've selected? i.e. I have an image on the page and I want to replace the URL so that it looks like a difference image has been inserted. i am able to use relative and smart selectors to get the image element i want, but it…

thumbsup
0
message-simple
1

Hi, I need to switch the tab and get the text from new tab.?

await openBrowser({args:['--disable-popup-blocking']}); also i used this for disable pop up blocking.once its opened the new tab, Just hanging and getting the timeout issue.Could u please help me to proceed?

thumbsup
0
message-simple
3

SyntaxError: Cannot use import statement outside a module

I created a script with the repl, but had to modify it to get past a 2FA. I am trying to get back into interactive repl mode but I cannot get there. I have dug a little and found that you need to use the await repl(); command, which requires you to import {repl} from…

thumbsup
0
message-simple
2

Hi, How to get the selected text from the dropdown?

<option value="America/Los_Angeles" selected="">Pacific Standard Time</option> 3:17 <select class="select" name="altDisplayOptionsBean.displayOptionsTimeZone"> …

thumbsup
1
message-simple
2

Cannnot seem to find fileField Element on page

I am attempting to attach to fileField with html like this: <div class="modal-body"> <div class="alert alert-danger ng-binding ng-hide" role="alert" ng-show="form_errors._error" aria-hidden="true"></div> …

thumbsup
0
message-simple
3

How to select radio buttons.tried with all the option provided in the…

thumbsup
0
message-simple
14

Handling alerts

Context : I have 2 versions of the same application . In one version on login i get an alert and in another version i do not get alert. When i get an alert i need to close the alert to proceed further. To handle above scenario i have written below code. if (text("Incoming…

thumbsup
0
message-simple
2

Gauge+Taiko in Intellij help

I am new to Gauge+Taiko I have downloaded the sample project for the same. I am getting undefined step as error. When executed : Compatible version of plugin js not found. Installing plugin js... Failed to install plugin 'js' version 2.3.6. Error…

thumbsup
0
message-simple
18

Locating one cell within a table relative to the contents of another cell .

I have a HTML that has column headers 'Line #', 'Test Column 2', 'Current Quantity', and 'Enter New Quantity' the contents of the table are (<>) represents the input field I am targeting. this field is initially empty. Line # Test Column 2 Current Quantity Enter New Quantity' …

thumbsup
0
message-simple
2

Intercept & datastore interaction

Hi, i have a very long XHR request so i set an intercept like this: and in i step i putted: when i check in network the XHR call keep in pending state could you tell me where am i wrong? …

thumbsup
0
message-simple
4