Automatic Operation of Browser using Selenium and C# by Takahiro Kurose

Automatic Operation of Browser using Selenium and C# by Takahiro Kurose

Author:Takahiro Kurose [Kurose, Takahiro]
Language: eng
Format: azw3
Published: 2018-04-21T16:00:00+00:00


HTML of operation target element

<input name="post_title" size="30" value="" id="title" spellcheck="true" autocomplete="off" type="text">

Automatic operation code

driver.FindElement(By.Id("title")).SendKeys("This is title");

【8】

Enter "This is content" in the content

HTML of operation target element

<iframe id="content_ifr" ...>

...

<body id="tinymce" class="mce-content-body content post-type-post post-status-auto-draft post-format-standard page-template-default locale-ja mceContentBody wp-editor wp-autoresize html5-captions" data-id="content" style="overflow-y: hidden;" contenteditable="true"><p><br data-mce-bogus="1"></p></body>

...

</iframe>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.