Jump to content

How to insert the text?


reida
 Share

Recommended Posts

Hello. Help to write the text.

<textarea tabindex="4" class="js-input compose__labels__input" style="width: 407px; max-width: 413px;" wrap="off" autocomplete="off" data-original-name="To"></textarea>

 I can not make.

#include <IE.au3>

$sLogin = 'adv'
$iError = 1
$sUrl = 'https://......'
$oIE = _IECreate($sUrl)

 ;;;
 _IELoadWait($oIE)

$oLogin  = _IEGetObjByName($oIE, "To")
Sleep(7000)
If IsObj($oLogin) Then
  _IEFormElementSetValue($oLogin, $sLogin)
  _IELoadWait($oIE)
 ; EndIf
  EndIf

Through the selector it can be possible?

#toolkit-154163367424641composeForm > div:nth-child(1) > div > div.compose-head__content.js-collapsed-off > div.compose-head__row-wrapper.compose-head__row-wrapper_to.js-row > div > div > div:nth-child(2) > div > div > div > textarea.js-input.compose__labels__input

 

Edited by reida
Link to comment
Share on other sites

 

On 07/11/2018 at 10:09 PM, reida said:

Through the selector it can be possible ?

Possible or not possible ? That is the question... 

 

Back serius. Maybe 

data-original-name

And 

name

Are not same ?

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...