File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ Session.newSession = function (private_server_props,props)
1111 selfobject .public_method_extends (PublicSession )
1212 local args = props .args
1313
14-
15- local temp_dir = " /home/chromeuser/temp_chrome_" .. os.time ()
16- args = {
14+ args = {
1715 " --disable-blink-features=AutomationControlled" ,
1816 " --disable-infobars" ,
1917 " --disable-notifications" ,
@@ -22,13 +20,13 @@ Session.newSession = function (private_server_props,props)
2220 " --no-sandbox" ,
2321 " --ignore-certificate-errors" ,
2422 " --window-size=1920,1080" ,
25- " --user-data-dir=" .. temp_dir ,
2623 " --user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"
2724 }
2825
2926
3027 local use_automation_extension = props .use_automation_extension or false
31-
28+ print (" caminho binario" ,props .binary_location )
29+
3230 local result = selfobject .private .fetch ({
3331 url = selfobject .private .url .. " /session" ,
3432 method = " POST" ,
You can’t perform that action at this time.
0 commit comments