Commit 67496b66 authored by Simon Knox's avatar Simon Knox

Don't open live_debug browser in non-headless mode

parent e6223605
...@@ -16,7 +16,7 @@ module LiveDebugger ...@@ -16,7 +16,7 @@ module LiveDebugger
puts "The current user credentials are: #{@current_user.username} / #{@current_user.password}" if @current_user puts "The current user credentials are: #{@current_user.username} / #{@current_user.password}" if @current_user
puts "Press any key to resume the execution of the example!!" puts "Press any key to resume the execution of the example!!"
`open #{current_url}` if is_headless_disabled? `open #{current_url}` unless is_headless_disabled?
loop until $stdin.getch loop until $stdin.getch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment