Clerythecleric Posted April 25, 2018 Share Posted April 25, 2018 (edited) Hello, This is my code, I know the _FFCMD is likely wrong. (shown below) $oTD = _FFXpath("/html/body/form/section[1]/table/tbody/tr[2]/td[7]") _FFCmd("FFau3.xpath.innertext='Test'") MsgBox("", "", "finish") Trying to get text into here. (shown below) <td class="newAudioPlayerSegmentation"> *Text to go here* </td> I know the xpath is correct as i can use _FFOBj to get the textcontent of what's in there, but how do i manipulate the text? Thank you Clery Edited April 25, 2018 by Clerythecleric Link to comment Share on other sites More sharing options...
Danp2 Posted April 25, 2018 Share Posted April 25, 2018 Your _FFCmd looks ok to me. Any meaningful content showing in the Scite output window? Hint: Use the console in the Developer Tools (hit F12 to activate) to figure out the correct syntax. You can right click on an element and then select "Use in console". This will give you a variable (likely temp0) that you can use for testing. Once you get it working in the console, then you can implement using _FFXpath / _FFCmd. Clerythecleric 1 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
therks Posted April 25, 2018 Share Posted April 25, 2018 I don't know anything about the FF.au3, but I know some HTML/JS and I think your issue here is innerText needs to capitalized precisely (capital T). My AutoIt Stuff | My Github 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