Monthly Archives: December 2012

Powershell script to snap an app in Windows 8

You can not, from inside a Windows 8 application, snap it. That doesn’t mean there is no other way 🙂 At work, we have to test our app in a snapped state, so we need a way to programmatically make it happen. We discovered that there are two keyboard shortcuts for this action. Windows Key […]

Get current session id on Ruby Selenium WebDriver

1 @browser.instance_variable_get(’@bridge’).instance_variable_get(’@session_id’)@browser.instance_variable_get(‘@bridge’).instance_variable_get(‘@session_id’)