Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、.object メソッドを使用して任意の要素の DOM オブジェクトにアクセスできる QuickTest Pro のバックグラウンドから来ています。Selenium RC に相当するものを知りたいです。
できますよ。本当の問題は、それで何をしたいのかということです。getEval()コマンドを確認してください。JavaScriptを評価し、結果を文字列形式で返すことができます。つまり、完全なDOMオブジェクトをJava / C#/ perl / etcに戻すことはできませんが、その属性(つまり、innerHTMLなど)を取り戻すことはできます。