Jump to content

aRandomGuy

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

140 profile views

aRandomGuy's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello, i found these code in python that trigger auto translation on a website using prefs options = Options() prefs = { "translate_whitelists": {"fr":"en"}, "translate":{"enabled":"true"} } options.add_experimental_option("prefs", prefs) browser = webdriver.Chrome(chrome_options=options) i did add the same option into chromedriver, however it fail, can you edit my code here is my code _WD_CapabilitiesAdd('prefs', '{"translate_whitelists": {"jp":"en"}, "translate": {"enabled": "true"}}') thank you
  2. Thank Dan, that's would be a solution to consider
  3. Hello Danp2, thanks for stating my problem is previous post. here is what i want to to achieve : i have a compiled exe file (ChromeDriver inside ) -> which open/control 1 Chrome Instance -> work fine Currently i need to run 5 of them at the same time -> 5 Chrome Instance at the same time -> problem happens here, 5 chrome.exe process eat up too many RAM/CPU. I knew that i can simplize Chrome Instance by adding some flag to WD_Option ( so it will consume less resouce and my old PC can handle 5 of them without any lagging ) I found some flags here : https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md so, is it possible with AutoIT ? thank you for your help
  4. Hello, Recently i found my program eating too much CPU/RAM , i wonder if are there any flags that keep Chrome instace ( from ChromeDriver ) working with minimum resource ? I have found a list here : https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md, can you guy recommend which work best thank you, EDIT : the program cann't work in HEADLESS mode so it's not a option
  5. thank you Dan, but this does not work in my case i found another solution : $sElement = _WD_FindElement($sSession,$_WD_LOCATOR_ByTagName,"div",'',true) _WD_ElementAction($sSession, $sElement[150], 'click')
  6. Hello, I am working on a website that generate around ~400 <div> tag, using this code to fetch them all with chromedriver i want to click the one at the index of 150 ( $sElement[150] ) Currently i am doing This works fine, However i realize that since the number of <div> tag is huge ( ~400), the loading speeding is extremely slow AND since i want to click exactly at the index of 150, are there any way to achieve this with less effort ? Thank you !
  7. Thank you Dan, i try a while but this seem impossible, the <input> tag is non-exist and therefore, no way to access via webdriver
  8. Hello sir, thank you for reply, i am looking for upload video here : https://business.facebook.com/latest/reels_composer i tried : stimulate click on add video, re-scan for <input> tag this seem to be a special technology to hide the <input> completely from being automated thank you,
  9. i face same problem in the past, as i remember, the problem in with Default profile directory, you can make new profile directory and check again
  10. Hello Everyone, especially Danp2 for creating such a beautiful UDF, I am working with _WD_SelectFiles to upload a video to site, however the problem is, there is no <input> tag at all to send video. the upload button is a pure <div> tag, i keep digging the HTML source but nothing else. I also try _WD_SelectFiles for <div> tag but it seem helpess. i hope you can look into this case and give me an advice. Thank you
×
×
  • Create New...