Ability to specify JS before running change-detection (#744)

This commit is contained in:
dgtlmoon
2022-07-10 13:56:01 +02:00
committed by GitHub
parent 169c293143
commit fae1164c0b
6 changed files with 27 additions and 8 deletions

View File

@@ -298,7 +298,8 @@ class ChangeDetectionStore:
'ignore_text', 'css_filter',
'subtractive_selectors', 'trigger_text',
'extract_title_as_title', 'extract_text',
'text_should_not_be_present']:
'text_should_not_be_present',
'webdriver_js_execute_code']:
if res.get(k):
apply_extras[k] = res[k]