We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23df6c7 commit b8b6046Copy full SHA for b8b6046
examples/upload_file_test.py
@@ -8,10 +8,7 @@ class FileUploadButtonTests(BaseCase):
8
def test_file_upload_button(self):
9
self.open("https://www.w3schools.com/jsref/tryit.asp"
10
"?filename=tryjsref_fileupload_get")
11
- if not self.ad_block_on:
12
- # If ad-blocking is disabled, block anyway.
13
- self.wait_for_element('[id*="google_ads"]')
14
- self.remove_elements('[id*="google_ads"]')
+ self.ad_block()
15
self.switch_to_frame('iframeResult')
16
self.add_css_style(
17
'input[type="file"]{zoom: 1.5;-moz-transform: scale(1.5);}')
0 commit comments