From 51680b6ebb645d37ebdfcd122ca163b3a638aefa Mon Sep 17 00:00:00 2001 From: Tails developers Date: Fri, 19 Dec 2014 00:40:08 +0100 Subject: files copied from https://git-tails.immerda.ch/tails - many thanks to the tails developers for their nice work and documentation of it - these files have been released under the GNU General Public License version 3 or (at your option) any later version features/images has been omitted --- features/step_definitions/torified_browsing.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 features/step_definitions/torified_browsing.rb (limited to 'features/step_definitions/torified_browsing.rb') diff --git a/features/step_definitions/torified_browsing.rb b/features/step_definitions/torified_browsing.rb new file mode 100644 index 00000000..770fda52 --- /dev/null +++ b/features/step_definitions/torified_browsing.rb @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2