-
Notifications
You must be signed in to change notification settings - Fork 47
Description
When I use press_builder() on my script I get this error at runtime.
Error "delay: expected number, got object"
Then I update my code to be page.press_builder().delay(30.0).press()
and then I get an error
Error "noWaitAfter: expected boolean, got object"
so then I add no_wait_after() function like so page.press_builder().no_wait_after(false).delay(30.0).press()
after that I see see this error
Error "timeout: expected number, got object"
and manually adding the timeout() to the chain makes it work.
So those three default values are not being set on my press_builder() for some reason. I'm not having this issue with any other builder so far.
DISCLAIMER: I'm not 100% sure this is true on your version. I modified my playwright slightly, but I don't think I changed anything that would effect default values for press_builder().