<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can we run a workflow with chromiumdriver.exe in python tool on the server? in Alteryx Server Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795723#M9227</link>
    <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/56234"&gt;@rkapoor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying.&amp;nbsp; Yes, I installed the chromium driver at the same file path on the server machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I am defining the path for the exe location:&lt;/P&gt;&lt;P&gt;options = webdriver.ChromeOptions();&lt;BR /&gt;options.add_argument("--no-sandbox")&lt;BR /&gt;options.add_argument("start-maximized");&lt;BR /&gt;wd = webdriver.Chrome(options=options,executable_path="C:/Temp/chromedriver.exe")&lt;BR /&gt;wd.get(webpage)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually followed the article to implement this.&amp;nbsp; The article was awesome.&amp;nbsp; It worked on the desktop, but not on the Alteryx server through browser.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2021 10:07:37 GMT</pubDate>
    <dc:creator>knozawa</dc:creator>
    <dc:date>2021-08-03T10:07:37Z</dc:date>
    <item>
      <title>Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795129#M9219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to run a workflow that contains python tool with chromiumdriver.exe on Alteryx server?&lt;/P&gt;&lt;P&gt;The workflow is to scrape website using selenium by opening and scroll down a chrome browser.&lt;/P&gt;&lt;P&gt;It runs fine on designer, but it gives me an error message when I tried to run the workflow on server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SessionNotCreatedException: Message: session not created from disconnected: Unable to receive message from renderer&amp;nbsp;(Session info: chrome=92.0.4515.107)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 05:57:44 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795129#M9219</guid>
      <dc:creator>knozawa</dc:creator>
      <dc:date>2021-08-02T05:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795705#M9226</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/7968"&gt;@knozawa&lt;/a&gt;&amp;nbsp;does the Alteryx Server machine have the chromium driver installed? I assume you downloaded it from&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;U&gt;&lt;A title="https://urldefense.com/v3/__http:/chromedriver.chromium.org/downloads__;!!nomzsbwvtg!jkl7c3hwtjow1eldts8rrqyq6vvoboltvbfrkb77uw0gmcnqzzowxzpk_kumpzs$" href="https://urldefense.com/v3/__http:/chromedriver.chromium.org/downloads__;!!NomzSBwvtg!JKL7c3HwtjOw1eLDTS8rrqyQ6VVOBOlTvbfRKB77Uw0GMcNQzzOwxZpK_kUMPZs$" target="_blank" rel="noreferrer noopener"&gt;http://chromedriver.chromium.org/downloads&lt;/A&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My colleague &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/10894"&gt;@DavidM&lt;/a&gt;&amp;nbsp;wrote an interesting article related to this a while back, could you test out this workflow to see if it works?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-Code-Tool-Web-Scraping-Dynamic-Websites-Using-Selenium/td-p/300335/page/5" target="_blank" rel="noopener"&gt;https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-Code-Tool-Web-Scraping-Dynamic-Websites-Using-Selenium/td-p/300335/page/5&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Aug 2021 09:37:23 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795705#M9226</guid>
      <dc:creator>rkapoor</dc:creator>
      <dc:date>2021-08-03T09:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795723#M9227</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/56234"&gt;@rkapoor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying.&amp;nbsp; Yes, I installed the chromium driver at the same file path on the server machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I am defining the path for the exe location:&lt;/P&gt;&lt;P&gt;options = webdriver.ChromeOptions();&lt;BR /&gt;options.add_argument("--no-sandbox")&lt;BR /&gt;options.add_argument("start-maximized");&lt;BR /&gt;wd = webdriver.Chrome(options=options,executable_path="C:/Temp/chromedriver.exe")&lt;BR /&gt;wd.get(webpage)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually followed the article to implement this.&amp;nbsp; The article was awesome.&amp;nbsp; It worked on the desktop, but not on the Alteryx server through browser.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:07:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795723#M9227</guid>
      <dc:creator>knozawa</dc:creator>
      <dc:date>2021-08-03T10:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795724#M9228</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/7968"&gt;@knozawa&lt;/a&gt;&amp;nbsp;to rule this out, do you know if this works fine on the Designer that is installed on the Server machine itself?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:11:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795724#M9228</guid>
      <dc:creator>rkapoor</dc:creator>
      <dc:date>2021-08-03T10:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795728#M9229</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/56234"&gt;@rkapoor&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. The workflow ran successfully on the designer on the server machine.&amp;nbsp; So, I'm not sure why I still get the error when I try to run the workflow through the browser.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;knozawa&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:17:00 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795728#M9229</guid>
      <dc:creator>knozawa</dc:creator>
      <dc:date>2021-08-03T10:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795736#M9230</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/7968"&gt;@knozawa&lt;/a&gt;&amp;nbsp;it seems that the Chrome Driver is not able to kick off a new browser. Im wondering whether its the way you have defined the web driver and how its running on the Server.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;wd = webdriver.Chrome(options=options,executable_path=&lt;STRONG&gt;"C:/Temp/chromedriver.exe"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Could you try to convert the path into a UNC format, so we don't refer to the "C" drive, but the UNC version.&lt;BR /&gt;&lt;BR /&gt;Here's a bit more info on this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Workflow-Dependencies/ta-p/49696" target="_blank" rel="noopener"&gt;https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Workflow-Dependencies/ta-p/49696&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It might also be a firewall/virus scan issue that's blocking this.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 10:40:14 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/795736#M9230</guid>
      <dc:creator>rkapoor</dc:creator>
      <dc:date>2021-08-03T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/796741#M9243</link>
      <description>&lt;P&gt;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/56234"&gt;@rkapoor&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your suggestions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I cleaned up the disk space on the server machine. I also updated the location of the exe file to use the network drive instead of C drive. After that, the workflow successfully ran on the browser. I'm not sure why C drive did not work because I thought C:/Temp is the UNC format, but the network drive worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;knozawa&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 04:52:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/796741#M9243</guid>
      <dc:creator>knozawa</dc:creator>
      <dc:date>2021-08-05T04:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run a workflow with chromiumdriver.exe in python tool on the server?</title>
      <link>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/1039718#M12146</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have created a process where Alteryx download CSV file from a website using Selenium, Chrome libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I execute it on designer its working fine but when I deploy it on server I am getting an error.&lt;/SPAN&gt;&lt;BR /&gt;Server is not able to read path of Chromium.&lt;BR /&gt;I tried on local path as well as on share drive.&lt;BR /&gt;I need to understand how to add path on Workflow dependencies directly.&lt;BR /&gt;Since my path is mentioned in pyhton script.&lt;BR /&gt;&lt;BR /&gt;Refer code snippet:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from ayx import Alteryx&lt;BR /&gt;from ayx import Package&lt;BR /&gt;!pip install selenium&lt;BR /&gt;!pip install webdriver_manager&lt;BR /&gt;!pip install tqdm&lt;BR /&gt;import time&lt;BR /&gt;from selenium.webdriver.common.by import By&lt;BR /&gt;from selenium.webdriver.support.ui import WebDriverWait&lt;/P&gt;&lt;P&gt;from selenium import webdriver&lt;BR /&gt;from selenium.webdriver.support.select import Select&lt;BR /&gt;from selenium.webdriver.chrome.service import Service&lt;BR /&gt;from webdriver_manager.chrome import ChromeDriverManager&lt;/P&gt;&lt;P&gt;# driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))&lt;BR /&gt;# driver = webdriver.Chrome("C:/Program Files/Alteryx/bin/Plugins/chromedriver.exe")&lt;BR /&gt;driver = webdriver.Chrome("A:/chromedriver_win32/chromedriver.exe")&lt;BR /&gt;driver.get("&lt;A href="https://publicdata.adx.ae/_layouts/15/ReportServer/RSViewerPageadxpublic.aspx?rv:RelativeReportUrl=/ADXPublic/TradeSummaryByCitz_EN.rdl" target="_blank"&gt;https://publicdata.adx.ae/_layouts/15/ReportServer/RSViewerPageadxpublic.aspx?rv:RelativeReportUrl=/ADXPublic/TradeSummaryByCitz_EN.rdl&lt;/A&gt;")&lt;/P&gt;&lt;P&gt;WebDriverWait(driver,30);&lt;/P&gt;&lt;P&gt;time.sleep(5)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error log&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WebDriverException Traceback (most recent call last) &amp;lt;ipython-input-2-8a12728b3852&amp;gt; in &amp;lt;module&amp;gt; 16 # driver = webdriver.Chrome("C:/Program Files/Alteryx/bin/Plugins/chromedriver.exe") 17 driver = webdriver.Chrome("A:/chromedriver_win32/chromedriver.exe") ---&amp;gt; 18 driver.get("&lt;A href="https://publicdata.adx.ae/_layouts/15/ReportServer/RSViewerPageadxpublic.aspx?rv:RelativeReportUrl=/ADXPublic/TradeSummaryByCitz_EN.rdl" target="_blank"&gt;https://publicdata.adx.ae/_layouts/15/ReportServer/RSViewerPageadxpublic.aspx?rv:RelativeReportUrl=/ADXPublic/TradeSummaryByCitz_EN.rdl&lt;/A&gt;") 19 20 WebDriverWait(driver,30); c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\selenium\webdriver\remote\webdriver.py in get(self, url) 453 Loads a web page in the current browser session. 454 """ --&amp;gt; 455 self.execute(Command.GET, {"url": url}) 456 457 @property c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\selenium\webdriver\remote\webdriver.py in execute(self, driver_command, params) 442 response = self.command_executor.execute(driver_command, params) 443 if response: --&amp;gt; 444 self.error_handler.check_response(response) 445 response["value"] = self._unwrap_value(response.get("value", None)) 446 return response c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py in check_response(self, response) 247 alert_text = value["alert"].get("text") 248 raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here --&amp;gt; 249 raise exception_class(message, screen, stacktrace) WebDriverException: Message: unknown error: net::ERR_CONNECTION_TIMED_OUT (Session info: chrome=100.0.4896.60) Stacktrace: Backtrace: Ordinal0 [0x00E37413+2389011] Ordinal0 [0x00DC9F61+1941345] Ordinal0 [0x00CBC658+837208] Ordinal0 [0x00CB8F28+823080] Ordinal0 [0x00CAE27D+778877] Ordinal0 [0x00CAEE3D+781885] Ordinal0 [0x00CAE48A+779402] Ordinal0 [0x00CADA86+776838] Ordinal0 [0x00CAC995+772501] Ordinal0 [0x00CACE6D+773741] Ordinal0 [0x00CBDE5A+843354] Ordinal0 [0x00D149BD+1198525] Ordinal0 [0x00D0414C+1130828] Ordinal0 [0x00D14302+1196802] Ordinal0 [0x00D03F66+1130342] Ordinal0 [0x00CDE546+976198] Ordinal0 [0x00CDF456+980054] GetHandleVerifier [0x00FE9632+1727522] GetHandleVerifier [0x0109BA4D+2457661] GetHandleVerifier [0x00ECEB81+569713] GetHandleVerifier [0x00ECDD76+566118] Ordinal0 [0x00DD0B2B+1968939] Ordinal0 [0x00DD5988+1989000] Ordinal0 [0x00DD5A75+1989237] Ordinal0 [0x00DDECB1+2026673] BaseThreadInitThunk [0x75CC6709+25] RtlGetFullPathName_UEx [0x779F7D1D+173] RtlGetFullPathName_UEx [0x779F7CEB+123] (ToolId: 1)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 11:32:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Server-Discussions/Can-we-run-a-workflow-with-chromiumdriver-exe-in-python-tool-on/m-p/1039718#M12146</guid>
      <dc:creator>Jafar</dc:creator>
      <dc:date>2022-11-28T11:32:40Z</dc:date>
    </item>
  </channel>
</rss>

