-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add chrome.exe secondary location for Windows - upstream change [done] #103
Comments
It looks like TagUI can't be started on your laptop. It could be due to different reasons - Can you provide more information such as OS (Windows, macOS, Linux) and your user name for the OS? On Windows, there is problem with user name having space in it, and if the folder you are running automation has a space in the pathname. Another common cause is some companies have network restriction to prevent downloading automatically from the GitHub URLs. Depending on your OS the location to check is different. For Windows it is in the %APPDATA%\tagui folder. If you are running macOS, check that it is not due to Catalina blocking TagUI from running -
|
My OS platform is Windonw10 1809 In another case i checking in tagui folder. There completely all of file or you want me to some important file/folder? |
Try this - cd %appdata% Then tell me what error you have |
This is strange, this error message should appear when you do r.init() to tell user what is the issue. The message is because Chrome application is not found on your computer at the folder which is commonly installed on Windows for Chrome. Make sure you have Chrome browser installed. If you already have Chrome installed but it is not in above location, edit %appdata%\tagui\src\tagui.cmd and change the chrome_command setting to the location of your chrome.exe. Note that if you modify it, after you pip install rpa --upgrade this modification will be lost. Also, let me know your chrome.exe location. This will be useful info to see if TagUI can be improved to recognise other locations. |
OK this here is my Chrome location How can i edit in tagui.cmd when i open,there already early close |
Thanks, I see.. You can use Notepad editor and open the file tagui.cmd, after that you can modify at top of the file the following to the correct Chrome browser location on your computer -
|
Ok this time i change application i found this Alert! when i run tagui sample/... Fatal: The system cannot find the file specified; did you install phantomjs? |
Nicee after i copy phantomjs folder it's working!! both of cmd and python Script |
That's great, thanks for your update @juniorkidsu ! The PhantomJS is likely due to firewall or anti-virus restriction which may block PhantomJS from being download and extracted to the folder. Glad that you have resolved it, have fun using it! |
Upstream TagUI change, implemented in v1.25, available with Some Windows users may not install Chrome to |
import rpa as r
r.init()
r.url('https://ca.yahoo.com')
r.type('search-box', 'github')
search_text = r.read('search-box')
print(search_text)
r.click('search-button')
r.wait(6.6)
r.snap('page', 'results.png')
r.snap('logo', 'logo.png')
r.url('https://duckduckgo.com')
r.type('search_form_input_homepage', 'The search engine that doesn't track you.')
r.snap('page', 'duckduckgo.png')
r.wait(4.4)
r.close()
THIS IS SAMPLE CODE FROM RPA library but on got some error like this
What can i fix this case?? because i declare init() before using url()
The text was updated successfully, but these errors were encountered: