Skip to content

Commit 1991dc4

Browse files
committed
Add comment about button name on google example
1 parent c6f9983 commit 1991dc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/expl_google.py

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# Fill-in the form
99
browser.select_form('form[action="/search"]')
1010
browser["q"] = "MechanicalSoup"
11+
# Note: the button name is btnK in the content served to actual
12+
# browsers, but btnG for bots.
1113
browser.submit_selected(btnName="btnG")
1214

1315
# Display links

0 commit comments

Comments
 (0)