This is the code I have so far:

username = browser.find_element_by_id(“field67041336”)
email = browser.find_element_by_id(“field67041337”)
mobile = browser.find_element_by_id(“field67041338”)
postal = browser.find_element_by_id(“field67041339”)

username.send_keys(“YourUsername”)
email.send_keys(“[email protected]”)
mobile.send_keys(“020 7946 0018”)
postal.send_keys(“WC2N 5DU”)

browser.find_element_by_id(“fsSubmitButton3142464”).click()

So I have a catchall domain and I want to be able to input random numbers in front of the catchall. So like for one account the email is [email protected] and the next account is [email protected] and so on and so forth. Anyway to do this?

Side Note: IDK if I can ask multiple questions in the same post so if I cant, im sorry. I want to loop this but I want the user to be able to define how many times they want it to loop. Anyone done this before?



Source link https://sqa.stackexchange.com/questions/35004/--from-a--using-

LEAVE A REPLY

Please enter your comment!
Please enter your name here