blob: 770fda52a255a2c01f21f8072d338bb8fc29869d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
When /^I open a new tab in the Tor Browser$/ do
next if @skip_steps_while_restoring_background
@screen.click("TorBrowserNewTabButton.png")
end
When /^I open the address "([^"]*)" in the Tor Browser$/ do |address|
next if @skip_steps_while_restoring_background
step "I open a new tab in the Tor Browser"
@screen.click("TorBrowserAddressBar.png")
sleep 0.5
@screen.type(address + Sikuli::Key.ENTER)
end
|