Is there a way to traverse through html elements in playwright like cy.get(“abc”).find(“div”) in cypress? In other words, any find() equivalent method in playwright? page.locator(“abc”).find() is not a valid method in playwright though 🙁 Answer You can just combine the selectors, this will resolve to div below abc
Tag: browser-automation
Can’t locate and click on a terms of conditions button
I am new to pupeeteer and first what i am trying to do is loading a page and clicking on a button. However, it can’t locate the element. I assume this is because I need to locate the parent or parent’s parent element. This is the full css selector taken from inspect Here’s my code: It’s a simple accept and
Invoke cucumber cli programatically through index.js of node
I have been given an automation framework in CucumberJS and node with selenium. But it has an older version of cucumber which relies on promises. In an attempt to avail latest synchronous step feature, I decided to upgrade the cucumberJS version (1.3.3 to 4.2.1) Now the problem is the code that was used to invoke cucumber cli programmatically in index.js