@@ -518,7 +518,7 @@ def create_screenshot(file, *args)
518518 expect ( @driver . evaluate_script ( "window.result" ) ) . to eq ( 3 )
519519 end
520520
521- it "supports stopping the session" , skip : Ferrum . windows? do
521+ it "supports stopping the session" , skip : Ferrum :: Utils :: Platform . windows? do
522522 driver = Capybara ::Cuprite ::Driver . new ( nil )
523523 pid = driver . browser . process . pid
524524
@@ -1330,7 +1330,7 @@ def create_screenshot(file, *args)
13301330 it "sends sequences with modifiers and symbols" do
13311331 input = @session . find ( :css , "#empty_input" )
13321332
1333- keys = Ferrum . mac? ? %i[ Alt Left ] : %i[ Ctrl Left ]
1333+ keys = Ferrum :: Utils :: Platform . mac? ? %i[ Alt Left ] : %i[ Ctrl Left ]
13341334
13351335 input . native . send_keys ( "t" , "r" , "i" , "n" , "g" , keys , "s" )
13361336
@@ -1340,7 +1340,7 @@ def create_screenshot(file, *args)
13401340 it "sends sequences with multiple modifiers and symbols" do
13411341 input = @session . find ( :css , "#empty_input" )
13421342
1343- keys = Ferrum . mac? ? %i[ Alt Shift Left ] : %i[ Ctrl Shift Left ]
1343+ keys = Ferrum :: Utils :: Platform . mac? ? %i[ Alt Shift Left ] : %i[ Ctrl Shift Left ]
13441344
13451345 input . native . send_keys ( "t" , "r" , "i" , "n" , "g" , keys , "s" )
13461346
0 commit comments