You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
The text was updated successfully, but these errors were encountered:
randall-coding
changed the title
press_builder() seems broken missing 3 default values on the builder
press_builder() seems broken. Missing 3 default values on the builder
Feb 8, 2023
When I use press_builder() on my script I get this error at runtime.
Then I update my code to be
page.press_builder().delay(30.0).press()
and then I get an error
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
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().
The text was updated successfully, but these errors were encountered: