Getting contextId: '' multiple: false for login chrome tabs, how to get context for that

2017-10-31 08:08:40:978 - info: [HTTP] <-- POST /wd/hub/session/4efd32df-26ed-421e-b279-53ed7108d9ed/timeouts 200 6 ms - 76 2017-10-31 08:08:40:989 - info: [HTTP] --> POST /wd/hub/session/4efd32df-26ed-421e-b279-53ed7108d9ed/element {"using":"xpath","value":"/hierarchy/android.widget.FrameLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.FrameLayout[contains(@index,'0')]/android.widget.LinearLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.Button[contains(@index,'0')]"}
2017-10-31 08:08:40:991 - info: [debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["xpath","/hierarchy/android.widget.FrameLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.FrameLayout[contains(@index,'0')]/android.widget.LinearLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.Button[contains(@index,'0')]","4efd32df-26ed-421e-b279-53ed7108d9ed"]
2017-10-31 08:08:40:992 - info: [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
2017-10-31 08:08:40:993 - info: [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
2017-10-31 08:08:40:993 - info: [debug] [BaseDriver] Waiting up to 10000000 ms for condition
2017-10-31 08:08:40:995 - info: [debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.FrameLayout[contains(@index,'0')]/android.widget.LinearLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.Button[contains(@index,'0')]","context":"","multiple":false}}
2017-10-31 08:08:41:007 - info: [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"/hierarchy/android.widget.FrameLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.FrameLayout[contains(@index,'0')]/android.widget.LinearLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.Button[contains(@index,'0')]","context":"","multiple":false}}
2017-10-31 08:08:41:008 - info: [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
2017-10-31 08:08:41:008 - info: [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
2017-10-31 08:08:41:009 - info: [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '/hierarchy/android.widget.FrameLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.FrameLayout[contains(@index,'0')]/android.widget.LinearLayout[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.view.ViewGroup[contains(@index,'0')]/android.widget.Button[contains(@index,'0')]' using 'XPATH' with the contextId: '' multiple: false
2017-10-31 08:18:40:993 - info: [HTTP] <-- POST /wd/hub/session/4efd32df-26ed-421e-b279-53ed7108d9ed/element - - ms - -

Sign In or Register to comment.