A Google CTR Click-through automation is used to automate clicks on search results to simulate user engagement.
Parameters
keyword
- the search term entered into the Google search bar to initiate the automated search;targetUrl
- the specific URL that the automation searches for within the Google search results;timeout
- the duration in seconds that the automation waits after the last step before closing the browser;pagescount
- the maximum number of pages in the Google search results that the automation will search through to find thetargetUrl
.
Steps
The automation functions as follows:
- Navigates to Google and enters the
keyword
in the search bar. - Clicks on the search button.
- Searches for the
targetURL
specified and opens it.- If
targetURL
is not found on the first Google results page, automation continues searching through up topagescount
pages.
- If
- Locates another internal link (from the same domain) on the page and clicks it.
- Waits for
timeout
seconds. - Closes the browser.
Exceptions
- If
targetURL
is not found within thepagescount
Google results pages, an error message appears in a browser, which remains open.