I'm new to iMacros, I was using UiVision before and first of all, I'd like to say iMacros is much better
I have an issue with iMacros for Firefox (same issue with Chrome), when I fill an input, it is filled but it seems that the form cannot detect it, there is an error message saying that the input is mandatory but I can see it filled ... the URL of
When I try manually (for exemple by adding a space after the input value then delete it), the error message disappear.
We can also see that the placeholder doesn't disappear like if the form doesn't detect that there is something in the field Do you know where can this come from ? I think it's because the form is a js included (you can see below the URL and check the source).
Thank you very much .
VERSION BUILD=10021450
Firefox 77.0.1 64 bits
OS Windows 10
URL : https://esta.cbp.dhs.gov/, click on Create New Application, then Individual Application, then "Yes, I have read etc..", then "Yes, I have read etc..", then Next. The form I'm trying to submit is the one with Family Name, First Name, Gender, etc.
Macro :
Code: Select all
VERSION BUILD=10021450
URL GOTO=https://esta.cbp.dhs.gov/
TAG POS=1 TYPE=A ATTR=ID:lang-fr
TAG XPATH=/html/body/app-root/div/app-header/div/nav/div/div[2]/ul/li[2]/ul/li[1]
'Sometimes, a popup appears
SET !ERRORIGNORE YES
SET !TIMEOUT_STEP 1
TAG POS=1 TYPE=BUTTON ATTR=ID:confirmBtn
SET !ERRORIGNORE NO
TAG XPATH=/html/body/app-root/div/div[1]/app-disclaimer/div/div[1]/div[1]/div[2]/div/div/div[1]/label/span[4]
TAG XPATH=/html/body/app-root/div/div[1]/app-disclaimer/div/div[1]/div[2]/div[2]/div/div/div[1]/label/span[4]
TAG XPATH=/html/body/app-root/div/div[1]/app-disclaimer/div/app-form-nav/div/div[4]/button
''''''''''''''''''''''''''''''''''''''''''''''''''''''' #PAGE 1
'''''' DEMANDEUR / DONNEES PASSEPORT
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:applicantLastName CONTENT="LAST"
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:applicantFirstName CONTENT="FIRST"
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:gender CONTENT=%M
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:day_birthday CONTENT=%17
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:month_birthday CONTENT=%2
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:year_birthday CONTENT=%1994
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:birthCity CONTENT="PARIS"
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:birthCountry CONTENT=%FR
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:passportNum CONTENT="AACC11111"
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:citizenshipCountry CONTENT=%FR
'''' DATES PASSEPORT
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:day_issueDate CONTENT=%27
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:month_issueDate CONTENT=%9
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:year_issueDate CONTENT=%2018
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:day_expDate CONTENT=%26
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:month_expDate CONTENT=%9
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:year_expDate CONTENT=%2028
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:issueCountry CONTENT=%FR
' Êtes-vous à présent citoyen ou ressortissant d'un autre pays ?
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:currentCitizenshipSwitch CONTENT=%N
' Avez-vous été citoyen ou ressortissant d'un autre pays ?
TAG POS=1 TYPE=SELECT FORM=ACTION:https://esta.cbp.dhs.gov/applicantInfo ATTR=ID:pastCitizenshipSwitch CONTENT=%N
TAG POS=1 TYPE=INPUT ATTR=NAME:contactEmail CONTENT="mail@mail.com"
TAG POS=1 TYPE=INPUT ATTR=NAME:contactEmailConfirm CONTENT="mail@mail.com"
TAG XPATH=/html/body/app-root/div/div[1]/app-applicant-info/div[1]/div/form/app-form-nav/div/div[4]/button