Element click sometimes throws an unhandled exception on scroll into view
Closed this issue · 0 comments
aristotelos commented
See #62 (comment)
Trying to click on any shortcut on the desktop, the driver is able to find the shortcuts but not click on them. Debug logging:
PS C:> \FlaUI.WebDriver.exe --urls=http://0.0.0.0:4723/ --Logging:LogLevel:Default=Debug
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory[12]
Registered model binder providers, in the following order: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DateTimeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexObjectModelBinderProvider
dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
Hosting starting
info: FlaUI.WebDriver.SessionCleanupService[0]
Session cleanup service running every 60 seconds
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://0.0.0.0:4723/
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[13]
Loaded hosting startup assembly FlaUI.WebDriver
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: C:
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[39]
Connection id "0HN6ADVDIL1IE" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[1]
Connection id "0HN6ADVDIL1IE" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://127.0.0.1:4723/session application/json;+charset=utf-8 175
dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
Wildcard detected, all requests with hosts will be allowed.
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
1 candidate(s) found for the request path '/session'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
Endpoint 'FlaUI.WebDriver.Controllers.SessionController.CreateNewSession (FlaUI.WebDriver)' with route pattern 'Session' is valid for the request path '/session'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
Request matched endpoint 'FlaUI.WebDriver.Controllers.SessionController.CreateNewSession (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'FlaUI.WebDriver.Controllers.SessionController.CreateNewSession (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "CreateNewSession", controller = "Session"}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] CreateNewSession(FlaUI.WebDriver.Models.CreateSessionRequest) on controller FlaUI.WebDriver.Controllers.SessionController (FlaUI.WebDriver).
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of authorization filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of resource filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000), Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000), FlaUI.WebDriver.WebDriverResponseExceptionFilter (Order: 2147483637)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of exception filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Executing controller factory for controller FlaUI.WebDriver.Controllers.SessionController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed controller factory for controller FlaUI.WebDriver.Controllers.SessionController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[44] Attempting to bind parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest' using the name '' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[1] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter' for content type 'application/json; charset=utf-8'.
dbug: Microsoft.AspNetCore.Server.Kestrel[25] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000002": started reading request body.
dbug: Microsoft.AspNetCore.Server.Kestrel[26] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000002": done reading request body.
dbug: Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter[2] JSON input formatter succeeded, deserializing to type 'FlaUI.WebDriver.Models.CreateSessionRequest'
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[45] Done attempting to bind parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'request' of type 'FlaUI.WebDriver.Models.CreateSessionRequest'.
info: FlaUI.WebDriver.Controllers.SessionController[0] Created session with ID 40aa5a06-4ccc-44e2-9cef-16054fbe493d and capabilities FlaUI.WebDriver.MergedCapabilities
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[11] List of registered output formatters, in the following order: Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[4] No information found on request to perform content negotiation.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[8] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[10] Attempting to select the first formatter in the output formatters list which can write the result.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[2] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1] Executing OkObjectResult, writing value of type 'FlaUI.WebDriver.Models.ResponseWithValue1[[FlaUI.WebDriver.Models.CreateSessionResponse, FlaUI.WebDriver, Version=0.2.3.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Executed action FlaUI.WebDriver.Controllers.SessionController.CreateNewSession (FlaUI.WebDriver) in 436.7876ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'FlaUI.WebDriver.Controllers.SessionController.CreateNewSession (FlaUI.WebDriver)'
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[9]
Connection id "0HN6ADVDIL1IE" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://127.0.0.1:4723/session application/json;+charset=utf-8 175 - 200 - application/json;+charset=utf-8 912.9285ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/timeouts application/json;+charset=utf-8 22
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
1 candidate(s) found for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/timeouts'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
Endpoint 'FlaUI.WebDriver.Controllers.TimeoutsController.SetTimeouts (FlaUI.WebDriver)' with route pattern 'session/{sessionId}/Timeouts' is valid for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/timeouts'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
Request matched endpoint 'FlaUI.WebDriver.Controllers.TimeoutsController.SetTimeouts (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'FlaUI.WebDriver.Controllers.TimeoutsController.SetTimeouts (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "SetTimeouts", controller = "Timeouts"}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] SetTimeouts(System.String, FlaUI.WebDriver.TimeoutsConfiguration) on controller FlaUI.WebDriver.Controllers.TimeoutsController (FlaUI.WebDriver).
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of authorization filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of resource filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000), Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000), FlaUI.WebDriver.WebDriverResponseExceptionFilter (Order: 2147483637)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of exception filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Executing controller factory for controller FlaUI.WebDriver.Controllers.TimeoutsController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed controller factory for controller FlaUI.WebDriver.Controllers.TimeoutsController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[44] Attempting to bind parameter 'sessionId' of type 'System.String' using the name 'sessionId' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[45] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[44] Attempting to bind parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration' using the name '' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[1] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter' for content type 'application/json; charset=utf-8'.
dbug: Microsoft.AspNetCore.Server.Kestrel[25] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000003": started reading request body.
dbug: Microsoft.AspNetCore.Server.Kestrel[26] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000003": done reading request body.
dbug: Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter[2] JSON input formatter succeeded, deserializing to type 'FlaUI.WebDriver.TimeoutsConfiguration'
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[45] Done attempting to bind parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'timeoutsConfiguration' of type 'FlaUI.WebDriver.TimeoutsConfiguration'.
info: FlaUI.WebDriver.Controllers.TimeoutsController[0] Setting timeouts to FlaUI.WebDriver.TimeoutsConfiguration (session 40aa5a06-4ccc-44e2-9cef-16054fbe493d)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[11] List of registered output formatters, in the following order: Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[4] No information found on request to perform content negotiation.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[8] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[10] Attempting to select the first formatter in the output formatters list which can write the result.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[2] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1] Executing OkObjectResult, writing value of type 'FlaUI.WebDriver.Models.ResponseWithValue1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Executed action FlaUI.WebDriver.Controllers.TimeoutsController.SetTimeouts (FlaUI.WebDriver) in 15.943ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'FlaUI.WebDriver.Controllers.TimeoutsController.SetTimeouts (FlaUI.WebDriver)'
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[9]
Connection id "0HN6ADVDIL1IE" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/timeouts application/json;+charset=utf-8 22 - 200 - application/json;+charset=utf-8 24.1287ms
info: FlaUI.WebDriver.SessionCleanupService[0]
Session cleanup service did not find sessions to cleanup
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element application/json;+charset=utf-8 61
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
1 candidate(s) found for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
Endpoint 'FlaUI.WebDriver.Controllers.FindElementsController.FindElement (FlaUI.WebDriver)' with route pattern 'session/{sessionId}/element' is valid for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
Request matched endpoint 'FlaUI.WebDriver.Controllers.FindElementsController.FindElement (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'FlaUI.WebDriver.Controllers.FindElementsController.FindElement (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "FindElement", controller = "FindElements"}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] FindElement(System.String, FlaUI.WebDriver.Models.FindElementRequest) on controller FlaUI.WebDriver.Controllers.FindElementsController (FlaUI.WebDriver).
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of authorization filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of resource filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000), Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000), FlaUI.WebDriver.WebDriverResponseExceptionFilter (Order: 2147483637)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of exception filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Executing controller factory for controller FlaUI.WebDriver.Controllers.FindElementsController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed controller factory for controller FlaUI.WebDriver.Controllers.FindElementsController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[44] Attempting to bind parameter 'sessionId' of type 'System.String' using the name 'sessionId' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[45] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[44] Attempting to bind parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest' using the name '' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[1] Selected input formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter' for content type 'application/json; charset=utf-8'.
dbug: Microsoft.AspNetCore.Server.Kestrel[25] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000004": started reading request body.
dbug: Microsoft.AspNetCore.Server.Kestrel[26] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000004": done reading request body.
dbug: Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonInputFormatter[2] JSON input formatter succeeded, deserializing to type 'FlaUI.WebDriver.Models.FindElementRequest'
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder[45] Done attempting to bind parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'findElementRequest' of type 'FlaUI.WebDriver.Models.FindElementRequest'.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[11] List of registered output formatters, in the following order: Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter, Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[4] No information found on request to perform content negotiation.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[8] Attempting to select an output formatter without using a content type as no explicit content types were specified for the response.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[10] Attempting to select the first formatter in the output formatters list which can write the result.
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.DefaultOutputFormatterSelector[2] Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter' and content type 'application/json' to write the response.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1] Executing OkObjectResult, writing value of type 'FlaUI.WebDriver.Models.ResponseWithValue1[[FlaUI.WebDriver.Models.FindElementResponse, FlaUI.WebDriver, Version=0.2.3.0, Culture=neutral, PublicKeyToken=null]]'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2]
Executed action FlaUI.WebDriver.Controllers.FindElementsController.FindElement (FlaUI.WebDriver) in 316.9549ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint 'FlaUI.WebDriver.Controllers.FindElementsController.FindElement (FlaUI.WebDriver)'
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[9]
Connection id "0HN6ADVDIL1IE" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element application/json;+charset=utf-8 61 - 200 - application/json;+charset=utf-8 324.4631ms
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element/950a24f5-8a77-4804-b90c-d83c94d0dada/click application/json;+charset=utf-8 50
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
1 candidate(s) found for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element/950a24f5-8a77-4804-b90c-d83c94d0dada/click'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
Endpoint 'FlaUI.WebDriver.Controllers.ElementController.ElementClick (FlaUI.WebDriver)' with route pattern 'session/{sessionId}/Element/{elementId}/click' is valid for the request path '/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element/950a24f5-8a77-4804-b90c-d83c94d0dada/click'
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
Request matched endpoint 'FlaUI.WebDriver.Controllers.ElementController.ElementClick (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint 'FlaUI.WebDriver.Controllers.ElementController.ElementClick (FlaUI.WebDriver)'
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]
Route matched with {action = "ElementClick", controller = "Element"}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.ActionResult] ElementClick(System.String, System.String) on controller FlaUI.WebDriver.Controllers.ElementController (FlaUI.WebDriver).
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of authorization filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of resource filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000), Microsoft.AspNetCore.Mvc.Infrastructure.ModelStateInvalidFilter (Order: -2000), FlaUI.WebDriver.WebDriverResponseExceptionFilter (Order: 2147483637)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of exception filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.Infrastructure.ClientErrorResultFilter (Order: -2000)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[1] Executing controller factory for controller FlaUI.WebDriver.Controllers.ElementController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed controller factory for controller FlaUI.WebDriver.Controllers.ElementController (FlaUI.WebDriver)
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[44] Attempting to bind parameter 'sessionId' of type 'System.String' using the name 'sessionId' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[45] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'sessionId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'sessionId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[22] Attempting to bind parameter 'elementId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[44] Attempting to bind parameter 'elementId' of type 'System.String' using the name 'elementId' in request data ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinder[45] Done attempting to bind parameter 'elementId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[23] Done attempting to bind parameter 'elementId' of type 'System.String'.
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[26] Attempting to validate the bound parameter 'elementId' of type 'System.String' ...
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder[27] Done attempting to validate the bound parameter 'elementId' of type 'System.String'.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[2] Executed action FlaUI.WebDriver.Controllers.ElementController.ElementClick (FlaUI.WebDriver) in 93.7037ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1] Executed endpoint 'FlaUI.WebDriver.Controllers.ElementController.ElementClick (FlaUI.WebDriver)'
fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000005": An unhandled exception was thrown by the application. System.InvalidOperationException: Operation is not valid due to the current state of the object. at Interop.UIAutomationClient.IUIAutomationScrollItemPattern.ScrollIntoView() at FlaUI.UIA3.Patterns.ScrollItemPattern.<ScrollIntoView>b__2_0() at FlaUI.Core.Tools.Com.Call(Action nativeAction) at FlaUI.UIA3.Patterns.ScrollItemPattern.ScrollIntoView() at FlaUI.WebDriver.Controllers.ElementController.ScrollElementContainerIntoView(AutomationElement element) at FlaUI.WebDriver.Controllers.ElementController.ElementClick(String sessionId, String elementId) at lambda_method28(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
dbug: Microsoft.AspNetCore.Server.Kestrel.Connections[9]
Connection id "0HN6ADVDIL1IE" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 POST http://127.0.0.1:4723/session/40aa5a06-4ccc-44e2-9cef-16054fbe493d/element/950a24f5-8a77-4804-b90c-d83c94d0dada/click application/json;+charset=utf-8 50 - 500 0 - 199.1458ms
dbug: Microsoft.AspNetCore.Server.Kestrel[25]
Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000005": started reading request body.
dbug: Microsoft.AspNetCore.Server.Kestrel[26]
Connection id "0HN6ADVDIL1IE", Request id "0HN6ADVDIL1IE:00000005": done reading request body.