<?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: Using Python RPA Library on Databricks in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/59335#M6448</link>
    <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99027"&gt;@feiyun0112&lt;/a&gt;. This works great!!! Will also post this on some of the selenium forms on DB since this might be easier/better suited for what they are doing (without having to manage an init script and doing the driver installs manually)&lt;BR /&gt;&lt;BR /&gt;How are you running it on a individual/no isolation cluster? This wont work on the shared cluster.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Likely due to accessing the paths of the browser driver. Ran into the same issue with Selenium&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 05 Feb 2024 23:00:41 GMT</pubDate>
    <dc:creator>Kaizen</dc:creator>
    <dc:date>2024-02-05T23:00:41Z</dc:date>
    <item>
      <title>Using Python RPA Library on Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/58903#M6446</link>
      <description>&lt;P&gt;Hi I didn't see any conversations regarding using python RPA package on Data bricks clusters. Is anyone doing this or have gotten it to successfully work on the clusters?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran into the following errors:&lt;/P&gt;&lt;P&gt;1) Initially I was getting the error below regarding init(). However this was due to not having chrome driver installed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kaizen_0-1706743633855.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6071iBAC80D8524C31C8F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Kaizen_0-1706743633855.png" alt="Kaizen_0-1706743633855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) After installing chrome driver. The cell now hangs without erroring out. This is really interesting. Any suggestions or thoughts would be welcome.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kaizen_1-1706743734836.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/6072iD59361E73DE5DA46/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Kaizen_1-1706743734836.png" alt="Kaizen_1-1706743734836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 23:29:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/58903#M6446</guid>
      <dc:creator>Kaizen</dc:creator>
      <dc:date>2024-01-31T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python RPA Library on Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/58909#M6447</link>
      <description>&lt;P&gt;If you want to capture browser screenshot, you can use playwright&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;%sh

pip install playwright
playwright install

sudo apt-get update
playwright install-deps  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from playwright.async_api import async_playwright

async with async_playwright() as p:
    browser = await p.chromium.launch()
    page = await browser.new_page()

    await page.goto("https://google.com")
    await page.screenshot(path="results.png", full_page=True)
    
    await browser.close()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 02:56:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/58909#M6447</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-02-01T02:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Python RPA Library on Databricks</title>
      <link>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/59335#M6448</link>
      <description>&lt;P&gt;Thanks for the suggestion&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99027"&gt;@feiyun0112&lt;/a&gt;. This works great!!! Will also post this on some of the selenium forms on DB since this might be easier/better suited for what they are doing (without having to manage an init script and doing the driver installs manually)&lt;BR /&gt;&lt;BR /&gt;How are you running it on a individual/no isolation cluster? This wont work on the shared cluster.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Likely due to accessing the paths of the browser driver. Ran into the same issue with Selenium&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 05 Feb 2024 23:00:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/using-python-rpa-library-on-databricks/m-p/59335#M6448</guid>
      <dc:creator>Kaizen</dc:creator>
      <dc:date>2024-02-05T23:00:41Z</dc:date>
    </item>
  </channel>
</rss>

