Posts

Error while installing Microsfts webdriver for use with python module selenium

Image
1 Following the instructions from this link in my effort to use Python's selenium module with MS Edge: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ I get: C:Windowssystem32>DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0 Deployment Image Servicing and Management tool Version: 10.0.17134.1 Image Version: 10.0.17134.407 Error: 87 A Windows capability name was not recognized. The DISM log file can be found at C:WindowsLogsDISMdism.log I'm a little lost with regards to where to go from here. The entirety of the log contents put me over the character limit so here are some final lines: CDISMProviderStore::Internal_DisconnectProvider 2018-11-22 13:39:15, Info DISM DISM Provider Store: PID=13040 TID=13388 Disconn...

How to trigger the execution of the compensation flow for the activities used within an Automatonymous state...

Image
0 My activities throw exceptions from time to time during the execution, so I've implemented the Faulted methods of Activity<TInstance> to handle that, discarding the changes made in the Execute method. I thought that there's some wiring underneath in Automatonymous that makes it so that the Faulted method executes when the Execute method throws an exception and then calls the Faulted methods for the activities that were executed already. It turns out that there's no such thing, as my Faulted methods are never executed. Should I call those myself in a try/catch block instead? I could produce the BehaviorExceptionContextProxy based on BehaviorContext and the exception thrown. The only next Behavior I could pass would be the one inserted into that Activity 's Execute method, but logical...