Unable to do actions in Firefox browser using JavaScript playwright [closed]

I have been working on an automation project using Playwright JavaScript with the Cucumber framework. I’ve encountered an issue where I am unable to proceed with the “fill” action in the Firefox browser, while the same script runs correctly in Chrome and Edge browsers.

await pageFixture.page.locator("//input[@formcontrolname="min_quantum"]").fill(minQuantumValue1);

I have tried waiting for the element ,gave timeout for particular fill element to display, even though it is not working

  • 1

    The code here is just fine as far as I can tell, so a minimal reproducible example with the page and full, runnable code seems necessary. Thanks. There’s no need to wait for an element since locator auto-waits.

    – 




Leave a Comment