Seleniumを使用して Web ページを自動化しています。
私の問題は、セレンが隠しフィールドにテキストを入力できないことです。使った
selenium.type("xpath of hidden field","some text");
しかし、それは機能していません。エラーは発生していませんが、その非表示フィールドに何も入力していません。
例: Gmail の本文フィールドにテキストを入力する (メールの作成中)。 this is the exact example of my issue
ラッドエディターです。コードは次のようなものです(ここでは、テキストは内部に保存されていますiframe-->html-->body
)
<iframe id="iframe1">
<html>
<body> This is some text </body>
</html>
</iframe>