Open action

The Open action opens the browser to a specific web page.

Using network path URLs

When you use network path URLs, you might encounter bot errors in the following scenarios:
  • When you open a network file path using the New tab, Existing tab, or New window option in the Internet Explorer browser.
  • When you open a network folder path using the Existing tab option in the Internet Explorer or Chromium (Google Chrome or Microsoft Edge) browsers.
To fix these errors with network file or folder path, perform one of the following steps as required:
  • For network file path, select a Chromium browser (Google Chrome or Microsoft Edge) in the action.
  • For network folder path, select a Chromium browser (Google Chrome or Microsoft Edge) in the action with New tab or New window option.
.

Settings

Note:
  • This action is used only to open a URL in the browser. You cannot download a file using this action.
  • This action does not support InPrivate or Incognito mode of browsers.
  • Select to open the web page in an existing tab, new tab, or new window:
    • Existing tab: Opens the web page on a currently open tab. Select the tab from the list of active supported browser tabs, the Last used browser tab option, or insert a window variable.
      Note: Review the following information based on the platform where you created the automation:
      • macOS

        The Existing tab option supports Google Chrome and Safari browsers.

      • Windows

        The Existing tab option supports Google Chrome, Chromium-based Microsoft Edge, and Internet Explorer browsers.

      您可以使用正则表达式 (regex) 来标识窗口标题。 将每个正则表达式条件选择为字符串模式,然后输入值。 默认情况下,窗口标题字段区分大小写。

      要识别浏览器标题,您可以启用区分大小写选项以匹配字母大小写,或禁用该选项以识别字母大小写不匹配的窗口标题。
      Note: 确保您系统上安装的最低 Bot Agent 版本是随 Automation 360 v.26 发布的版本。 如果存在随 Automation 360 v.25 或更早版本发布的 Bot Agent 版本,则默认情况下,将仅通过匹配字母大小写(区分大小写)识别窗口标题。
      例如,要匹配所有以单词开头、后跟 - Notepad 的窗口标题名称,您可以输入字符串* -Notepad,或者仅为与此模式匹配的窗口标题使用模式((\w)\s)*document-Notepad
      Note:
      • 当您使用类型为字符串的正则表达式,并将 -title 作为任何 action 的窗口标题的输入值时,bot 可能会遇到运行时错误。 为了防止运行时错误,请确保在将字符串输入添加为 *-title 时,具有特定标题的应用程序已打开。 星号 (*) 只是一个字符,而不是通配符。
      • 当您使用类型为 Pattern 的正则表达式,并将 -title 作为任何 action 的窗口标题的输入值时,bot 可能会遇到运行时错误,因为输入值 *-title 是不正确的。

        请确保使用有效的正则表达式模式。

    • New tab: Opens the web page on a new tab. Select the tab from the list of active supported browser tabs or insert a window variable.
      Note: Review the following information based on the platform where you created the automation:
      • macOS

        The Existing tab option supports Google Chrome and Safari browsers.

      • Windows

        The Existing tab option supports Google Chrome, Chromium-based Microsoft Edge, and Internet Explorer browsers.

      • When you perform the action on the Internet Explorer tab, the action is executed in the matching tab only when it is in ready state.

      您可以使用正则表达式 (regex) 来标识窗口标题。 将每个正则表达式条件选择为字符串模式,然后输入值。 默认情况下,窗口标题字段区分大小写。

      要识别浏览器标题,您可以启用区分大小写选项以匹配字母大小写,或禁用该选项以识别字母大小写不匹配的窗口标题。
      Note: 确保您系统上安装的最低 Bot Agent 版本是随 Automation 360 v.26 发布的版本。 如果存在随 Automation 360 v.25 或更早版本发布的 Bot Agent 版本,则默认情况下,将仅通过匹配字母大小写(区分大小写)识别窗口标题。
      例如,要匹配所有以单词开头、后跟 - Notepad 的窗口标题名称,您可以输入字符串* -Notepad,或者仅为与此模式匹配的窗口标题使用模式((\w)\s)*document-Notepad
      Note:
      • 当您使用类型为字符串的正则表达式,并将 -title 作为任何 action 的窗口标题的输入值时,bot 可能会遇到运行时错误。 为了防止运行时错误,请确保在将字符串输入添加为 *-title 时,具有特定标题的应用程序已打开。 星号 (*) 只是一个字符,而不是通配符。
      • 当您使用类型为 Pattern 的正则表达式,并将 -title 作为任何 action 的窗口标题的输入值时,bot 可能会遇到运行时错误,因为输入值 *-title 是不正确的。

        请确保使用有效的正则表达式模式。

    • New window: Opens the web page on a new window of a specific browser.
      Select the browser from the following options:
      • Default Browser
        Ensure that Google Chrome, Microsoft Edge, Internet Explorer, Safari is set as the default browser.
        Note: Review the following information based on the platform where you created the automation:
        • macOS

          The Existing tab option supports Google Chrome and Safari browsers.

        • Windows

          The Existing tab option supports Google Chrome, Chromium-based Microsoft Edge, and Internet Explorer browsers.

        • If any browser that is not listed is set as the default browser for the device, the bot might encounter an error.
      • Google Chrome
      • Internet Explorer
      • Microsoft Edge
      • Safari
      • Mozilla Firefox
  • Enter the link to the web page to open.
    Note: For web pages to open properly, we recommend that you specify a URL with the protocol information, such as http, https, or file.
  • Optional: In the Time out after field, enter the number of seconds the bot must wait for the specified webpage to load before the bot fails.
    Note:
    • You can enter a timeout value of at least 9 seconds.
    • Timeout value is applicable only for the New tab and Existing tab options.
    • For the Internet Explorer browser, the bot executes even if the webpage is not loaded completely after waiting till timeout.