File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
integration/selenium/webdriver/spec_support Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,8 @@ def chrome_options(args: [], **opts)
251
251
def edge_options ( args : [ ] , **opts )
252
252
opts [ :binary ] ||= ENV [ 'EDGE_BINARY' ] if ENV . key? ( 'EDGE_BINARY' )
253
253
args << '--headless=chrome' if ENV [ 'HEADLESS' ]
254
+ args << '--no-sandbox'
255
+ args << '--disable-gpu'
254
256
WebDriver ::Options . edge ( browser_version : 'stable' , args : args , **opts )
255
257
end
256
258
Original file line number Diff line number Diff line change @@ -35,14 +35,16 @@ BROWSERS = {
35
35
"edge" : {
36
36
"data" : edge_data ,
37
37
"deps" : ["//rb/lib/selenium/webdriver:edge" ],
38
- "tags" : [
39
- "skip-remote" , # TODO: Add Linux version of Edge to pinned browsers.
40
- ],
38
+ "tags" : [],
41
39
"target_compatible_with" : [],
42
40
"env" : {
43
41
"WD_REMOTE_BROWSER" : "edge" ,
44
42
"WD_SPEC_DRIVER" : "edge" ,
45
43
} | select ({
44
+ "@selenium//common:use_pinned_linux_edge" : {
45
+ "EDGE_BINARY" : "$(location @linux_edge//:opt/microsoft/msedge/microsoft-edge)" ,
46
+ "MSEDGEDRIVER_BINARY" : "$(location @linux_edgedriver//:msedgedriver)" ,
47
+ },
46
48
"@selenium//common:use_pinned_macos_edge" : {
47
49
"EDGE_BINARY" : "$(location @mac_edge//:Edge.app)/Contents/MacOS/Microsoft\\ Edge" ,
48
50
"MSEDGEDRIVER_BINARY" : "$(location @mac_edgedriver//:msedgedriver)" ,
You can’t perform that action at this time.
0 commit comments