BaoChauEA Posted August 4, 2017 Share Posted August 4, 2017 Quote <form name="sps" id="sps-form" method="post" action="abc" class="a-spacing-none"> <div class="a-fixed-right-grid-col a-col-left redeem-gc-left"> <input value="Apply" data-testid="" type="submit"> </div> <div> <input title="" class="a-button-text" value="submit" name="action" type="submit"> </div> </form> This is my code: _FFFormSubmit("sps-form","id") ; it run but can't submit form... Link to comment Share on other sites More sharing options...
Danp2 Posted August 4, 2017 Share Posted August 4, 2017 The default for the third parameter $sSubmitMode is 'submit', which causes the form's submit function to be executed. Perhaps one of the other modes, such as 'click' would work better in your instance. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
BaoChauEA Posted August 5, 2017 Author Share Posted August 5, 2017 I've do it and form has submited but i see it only refresh page. I need submit from <input title="" class="a-button-text" value="submit" name="action" type="submit"> . Thank's Link to comment Share on other sites More sharing options...
Danp2 Posted August 5, 2017 Share Posted August 5, 2017 Show us your code with your latest attempt. If possible, share the URL. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now