2017-05-22 5 views
-2

はそれがマップポインタ(オーバーレイピン)でと一緒に場所を表示するGoogleマップでプッシュピンの画像から値を取得しますが、私はそれを取得/印刷する方法数。私は場所を検索する場合

数値は画像として表示されているため、HTMLページに対応する属性値がありません。怒鳴るスクリーンショットを参照してください。

enter image description here

<div class="gmnoprint" style="width: 26px; height: 43px; overflow: hidden; position: absolute; opacity: 0.01; cursor: pointer; left: 809px; top: 249px; z-index: 291;" title=""> 
 
<img style="position: absolute; left: 0px; top: 0px; width: 26px; height: 43px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; max-width: none;" src="https://maps.gstatic.com/mapfiles/transparent.png" draggable="false"/> 
 
</div>

<div class="gmnoprint" style="width: 26px; height: 43px; overflow: hidden; position: absolute; opacity: 0.01; cursor: pointer; left: 809px; top: 249px; z-index: 291;" title=""> 
<img style="position: absolute; left: 0px; top: 0px; width: 26px; height: 43px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px; max-width: none;" src="https://maps.gstatic.com/mapfiles/transparent.png" draggable="false"/> 
</div> 
+1

このウェブサイトの質問の目的は質問することです。あなたの質問はどこですか? – MrUpsidown

+0

最近StackOverflowを使用して開始しました。だから私は正確に尋ねる方法を知らない。 - 私はサポートチームの誰かが私の質問を編集したのを見て、それは良いようです。ご協力いただきありがとうございます。 –

+0

私の質問は、私のテストフレームワーク内のセレニウムウェブドライバスクリプトのコンソールに番号を印刷したいですか? - ありがとう –

答えて

0

それは画像としてレンダリングされるため、値を取得する直接的な方法はありません。同じ問題があり、QA環境でイメージとしてレンダリングしないように開発者に依頼しました。しかし、問題は、ページの読み込みに時間がかかったことになります。もう1つの方法は、APIの価値を得るためにAPIを与えたことです。

関連する問題