kopia lustrzana https://github.com/dgtlmoon/changedetection.io
BrowserSteps - Support for float seconds (0.5 etc)
rodzic
0126cb0aac
commit
dd87912c88
|
@ -133,7 +133,7 @@ class steppable_browser_interface():
|
|||
self.page.wait_for_timeout(1000)
|
||||
|
||||
def action_wait_for_seconds(self, selector, value):
|
||||
self.page.wait_for_timeout(int(value) * 1000)
|
||||
self.page.wait_for_timeout(float(value.strip()) * 1000)
|
||||
|
||||
def action_wait_for_text(self, selector, value):
|
||||
import json
|
||||
|
|
Ładowanie…
Reference in New Issue