fix gewobag css
This commit is contained in:
parent
c5445aa461
commit
afb87d7d3c
1 changed files with 3 additions and 3 deletions
|
|
@ -215,9 +215,9 @@ class GewobagHandler(BaseHandler):
|
|||
try:
|
||||
mobile_phone = os.environ.get("FORM_PHONE", "")
|
||||
if mobile_phone:
|
||||
# Wait for the field to appear
|
||||
await iframe_page.wait_for_selector('#formly_17_input_$$_telephone_number_$$_0', timeout=5000, state='visible')
|
||||
mobile_input = await iframe_page.query_selector('#formly_17_input_$$_telephone_number_$$_0')
|
||||
# Wait for the field to appear - need to escape $$ in the selector
|
||||
await iframe_page.wait_for_selector('#formly_17_input_\\$\\$_telephone_number_\\$\\$_0', timeout=5000, state='visible')
|
||||
mobile_input = await iframe_page.query_selector('#formly_17_input_\\$\\$_telephone_number_\\$\\$_0')
|
||||
if mobile_input:
|
||||
await mobile_input.scroll_into_view_if_needed()
|
||||
await mobile_input.fill(mobile_phone)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue