mykola-mokhnach / Appium-iOS-Inspector

Apache License 2.0
145 stars 60 forks source link

Appium source at http://localhost:4723/wd/hub/session/1c8f1c1e-d547-42e3-a7b7-9354d58c346d/source cannot be received after 10 seconds timeout. #21

Closed stephenws closed 7 years ago

stephenws commented 7 years ago

@mykola-mokhnach please help me

The problem

I am trying to inspect element using Appium- inspector but as soon as when i hit inspector.html in browser i got error in appium log @#[line:0,col:undefined] [xmldom error] element parse error: TypeError: source.indexOf is not a function

and inspector.html url shows Error " Appium source at http://localhost:4723/wd/hub/session/1c8f1c1e-d547-42e3-a7b7-9354d58c346d/source cannot be received after 10 seconds timeout. Click this message to retry."

and could not capture screen to inspect element

Environment

Details

1 I have added breakpoint in my Automation script

  1. Now Start my automation script , script starts exceuting and it stops on Login screen as per my breakpoint added 3 now i hit file:///Users/Mukesh/Downloads/Appium-iOS-Inspector-master/iOS%20Inspector.html Url to inspect element from screen 4 But after hitting URL i below message in my appium terminal and it goes continues. @#[line:0,col:undefined] [xmldom error] element parse error: TypeError: source.indexOf is not a function
  2. And in Url i got message" Appium source at http://localhost:4723/wd/hub/session/1c8f1c1e-d547-42e3-a7b7-9354d58c346d/source cannot be received after 10 seconds timeout. Click this message to retry." but could not capture screen . Logs.zip
mykola-mokhnach commented 7 years ago

Closed as duplicate of https://github.com/appium/appium/issues/8434