INNER CODE UNIT · Python

applyPages

wodsuz/EasyApplyJobsBot · linkedin.py:466

        applyPages = math.floor(100 / percentage) - 2 
        result = ""
        for pages in range(applyPages):
            # Fill phone number before continuing to next step
            self.fillPhoneNumber()
            self.driver.find_element(By.CSS_SELECTOR, "button[aria-label='Continue to next step']").click()
            time.sleep(random.uniform(1, constants.botSpeed))

        # Fill phone number before review
        self.fillPhoneNumber()

        if config.dryRun:
            # In dry-run mode, navigate up to this point but do not submit.
            result = "* 🧪 DRY RUN - Would apply to this job: " + str(offerPage)
            return result

        self.driver.find_element( By.CSS_SELECTOR, "button[aria-label='Review your application']").click()
        time.sleep(random.uniform(1, constants.botSpeed))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…