Always need to waitFor(2000) for element visible before performing actions on…
Currently I need to click one element, but sometimes the click action will not be performed as the element cannot be found. I tired to use the code below to make sure the element is visible before clicking it, but it still failed. But when I add await waitFor(2000), click action…
Can someone please help me out with this query. Maybe a rather simple one for professionals , but for me as a beginner takes a lot of effort. Can someone guide me with an example on how do you copy a text which is displayed in the DOM to a variable so it can be extracted in the…
Always get the error "Error: Navigation took more than 240000ms. Please…
I have executed 4 test cases in my gauge running, and it took 17 min to finish. The error occured when running the code in afterScenario after the 4th test scenario completed. Actually I see the page is already navigated to the page I want, but it stays on that page for 240000ms…
global install of gauge/takio?
npm -g has become something to avoid, since you can access packages globally with npx. Globally installed packages adds dependancies to an environment which can be difficult to track. Can you use gauge and taiko alone with npx? Why does the docs specify using the global…
Access Clipboard within tests?
I'm feeling a bit bone-headed. I am trying to test some copy/paste functionality on my app (taiko/chromium/js) and want to either examine the clipboard, or just execute a "Paste" as a user would. I can't seem to find anything like this in the docs or examples (or codebase for…