Copy multiple page data by click load button

i have web page there is data and at the last of data there is option load &
i want to click load button until all data load means there is load button click load button if No load button available then copy all details and detail are multiple pages.

page 1
.
.
.
load button
.
.
page2
.
.
.
load button
.
.
here is no load button then copy all data and paste in excel
anyone can help me?

Hi @yogitagaikwad2206

Use Check app state or element exists activity.
If load button found click on it,if not found Extract the data and use write range.

Hope it helps!!


is this right?

@yogitagaikwad2206

  1. Open Browser activity :
    Use the Open Browser activity to navigate to the web page.

  2. Data Extraction Loop:
    -Use a Do While activity to repeatedly perform the following steps until the “Load” button is no longer present

    • Check if the “Load” button is present using the Element Exists activity with the appropriate selector.

    • If the “Load” button is present, proceed with the following steps; otherwise, exit the loop.

    • Use a data extraction method ( Data Scraping activity or Get Text activity combined with looped selectors) to extract data from the current page.

    • Click the “Load” button using the Click activity with the appropriate selector.

    • Use a Delay activity to wait for the new data to load. Adjust the duration based on the web page’s loading time.

  3. Extract Data from the Last Page (After the Loop):

    • After the loop exits (indicating that no more “Load” button is present), use the same data extraction method to extract data from the final page.
  4. Write or Append Data to Excel:

    • Use the Write Range or Append Range activity to write or append the extracted data to an Excel file.

cheers!!!

@yogitagaikwad2206
Yes, in the target not appear use write range

@yogitagaikwad2206
And I think you you are using while loop to iterate right?

yes

Okay
@yogitagaikwad2206
In the target doesnot appear use table extraction and write range.

Hope it helps!!

yes, but it does not click on load button until it appear it close window

can send sample workflow

Hi @yogitagaikwad2206

Please change the click activity mouse button from middle to left
image

Regards

this condition is right?

Hi @yogitagaikwad2206

Yes it’s correct

Regards

Hi @yogitagaikwad2206

Happy Automation !!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.