Skip to content

Commit bb4c438

Browse files
authored
sample.py - more generalised Duckduckgo identifier
1 parent c57fd1b commit bb4c438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# another example of interacting with a web page
3838
# include http:// or https:// in URL parameter
3939
r.url('https://duckduckgo.com')
40-
r.type('searchbox_input', 'The search engine that doesn\'t track you.')
40+
r.type('//*[@name="q"]', 'The search engine that doesn\'t track you.')
4141
r.snap('page', 'duckduckgo.png')
4242
r.wait(4.4)
4343

0 commit comments

Comments
 (0)