def sign_up(self):
try:<EOL><INDENT>self.driver.get(self.URL)<EOL>logger.info("<STR_LIT>")<EOL>begin = WebDriverWait(self.driver, <NUM_LIT:10>).until(<EOL>EC.element_to_be_clickable((By.CLASS_NAME, "<STR_LIT>"))<EOL>)<EOL>begin.click()<EOL>logger.info("<STR_LIT>")<EOL>WebDriverWait(self.driver, <NUM_LIT:10>).until(lambda d: len(d.window_handles) == <NUM_LIT:2>)<EOL>self.driver.switch_to_window(self.driver.window_handles[-<NUM_LIT:1>])<EOL>self.driver.set_window_size(<NUM_LIT>, <NUM_LIT>)<EOL>logger.info("<STR_LIT>")<EOL>consent = WebDriverWait(self.driver, <NUM_LIT:10>).until(<EOL>EC.element_to_be_clickable((By.ID, "<STR_LIT>"))<EOL>)<EOL>consent.click()<EOL>logger.info("<STR_LIT>")<EOL>participate = WebDriverWait(self.driver, <NUM_LIT:10>).until(<EOL>EC.element_to_be_clickable((By.CLASS_NAME, "<STR_LIT>"))<EOL>)<EOL>participate.click()<EOL>logger.info("<STR_LIT>")<EOL>return True<EOL><DEDENT>except TimeoutException:<EOL><INDENT>logger.error("<STR_LIT>")<EOL>return False<EOL><DEDENT>
Accept HIT, give consent and start experiment.

        This uses Selenium to click through buttons on the ad,
        consent, and instruction pages.