Jump to content

mLipok

MVPs
  • Posts

    11,508
  • Joined

  • Last visited

  • Days Won

    60

mLipok last won the day on June 4

mLipok had the most liked content!

About mLipok

  • Birthday 07/19/1978

Profile Information

  • Member Title
    I'm nitpicky sometimes.
  • Location
    Europe, Poland, Upper Silesia, Zabrze
  • Interests
    ¯\_(ツ)_/¯

Recent Profile Visitors

27,308 profile views

mLipok's Achievements

  1. My further experience with this issue has led me to rule out the issue being related to WebDriver. This problem only affects the browser startup itself, during which a new profile directory is created. Using such commands after closing FF there is a problem with deleting entire directory created by FF. Maybe someone else is having the same problem with their AV software? Of course, adding exceptions to the AV doesn't help.
  2. I'm 47 years old. Have my own business. I employ 4 people. Working with "bussiness psychologist" mostly on communication and management in bussines in relation to HR. So. No I do not think so. I think that, You simply haven't thought enough about the meaning of my statement. I know it's sometimes difficult, mainly because of my poor English. BTW. I see JOS and I are still trying to be polite to you. Please respect this.
  3. The only thing is that you are creating time pressure on people who devote their time here on a NON PROFIT basis. Lets revert your question: Have you signed any agreement that obligates anyone to respond to your question within the required timeframe ? If not, I suggest you be more patient, understanding, and formulate your thoughts better, meaning to consider not only your own needs but also respect the time of others. And this is not just about communication in relation to AutoIt forum members, but also in your life in general. p.s. Please don't take my answer as offensive, but rather as advice from a kind person.
  4. @junkew So far, I've done some minor research – initial tests and minor code modifications. I intend to share my proposals, but I need to be sure I'm working on the latest version of what you have. Therefore, please share the current files.
  5. @junkew please provide current UDF and example files. Maybe GitHub site ?
  6. I wonder if it is possible to change the download directory for such a connected session? EDIT2: or any other capability for example: _WD_CapabilitiesAdd("prefs", "pdfjs.disabled", True) _WD_CapabilitiesAdd("prefs", "browser.download.folderList", 2) _WD_CapabilitiesAdd("prefs", "browser.download.dir", $s_Download_dir) _WD_CapabilitiesAdd("prefs", "browser.download.useDownloadDir", True) _WD_CapabilitiesAdd("prefs", "browser.download.alwaysOpenPanel", False) _WD_CapabilitiesAdd("prefs", "browser.helperApps.neverAsk.saveToDisk", "application/zip, application/pdf, application/octet-stream, application/xml, text/xml, text/plain") _WD_CapabilitiesAdd("prefs", "browser.helperApps.neverAsk.openFile", "application/zip, application/pdf, application/octet-stream, application/xml, text/xml, text/plain") _WD_CapabilitiesAdd('prefs', 'browser.helperApps.alwaysAsk.force', False) ; CLEANUP for GDPR reason _WD_CapabilitiesAdd('prefs', 'browser.helperApps.deleteTempFileOnExit', True)
  7. found some related problem: https://github.com/SeleniumHQ/selenium/issues/14652 and posted new issue: https://github.com/SeleniumHQ/selenium/issues/16210
  8. This script provides a solution to the question: How to attach to FireFox instance launched via cmd: #include <MsgBoxConstants.au3> #include "wd_helper.au3" _Example() Func _Example() ; launch FireFox like in CMD ; https://stackoverflow.com/questions/44277119/how-to-connect-selenium-webdriver-to-existing-firefox-chrome-browser-session Run('"C:\Program Files\Mozilla Firefox\firefox.exe" --marionette -profile C:\FirefoxTEMP') ; configure WebDriver to connect to the previously launched FireFox _WD_Option('Driver', 'geckodriver.exe') _WD_Option('DriverParams', '--log trace --connect-existing --marionette-port 2828') _WD_Option('Port', 4444) _WD_Startup() Local $sSession = _WD_CreateSession() _WD_Navigate($sSession, "https://www.autoitscript.com/forum") MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, @ScriptName, "After attaching") _WD_Shutdown() EndFunc ;==>_Example
  9. Working example: #include <MsgBoxConstants.au3> #include "wd_helper.au3" _Example() Func _Example() Run('"C:\Program Files\Mozilla Firefox\firefox.exe" --marionette -profile C:\FirefoxTEMP') _WD_Option('Driver', 'geckodriver.exe') _WD_Option('DriverParams', '--log trace --connect-existing --marionette-port 2828') _WD_Option('Port', 4444) _WD_Startup() Local $sSession = _WD_CreateSession() _WD_Navigate($sSession, "https://www.autoitscript.com/forum") MsgBox($MB_OK + $MB_TOPMOST + $MB_ICONINFORMATION, @ScriptName, "After attaching") _WD_Shutdown() EndFunc ;==>_Example
  10. https://stackoverflow.com/questions/44277119/how-to-connect-selenium-webdriver-to-existing-firefox-chrome-browser-session
  11. Has anyone tried to make a UDF for TUYA? As far I found this docs/examples : https://github.com/make-all/tuya-local https://www.tuya.com/platform/appdev/app-sdk Share your thoughts and experiences with Smart Homes.
  12. https://github.com/Danp2/au3WebDriver/pull/537
  13. Short story: The existing instance of firefox must be run via gecko driver. Gecko driver can be run via ShellExecute().
×
×
  • Create New...