Musings of an aging computer nerd hitting 0x32
Setting browser size and position with watir-webdriver
From asking the question at StackOverFlow.com you can do this with the following commands;
browser = Watir::Browser.new(:firefox)
browser.execute_script('window.resizeTo(800,600)')
browser.execute_script('window.moveTo(0,0)')
Android Argus
Note: 1 of this post’s 3 links are now broken — mostly dead 2008–2013 feed-syndication infrastructure (FeedBurner, Gawker, AOL’s old blog network, Pheedo, Yahoo Pipes). Left as originally published.
Log 2
Note: 1 of this post’s 3 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.

Log 2
Originally uploaded by Alastair Montgomery
Via Flickr:
Close up of a log seen during walking the dog in Ripon.
Converting scripts from Watir to Webdriver, Table size
myTable.row_count
myTable.column_countmyTable.rows.lengthmyCols = myTable.strings[0].lengthmyCols = myTable.row.cells.lengthclass Watir::Tabledef row_countreturn self.rows.lengthenddef column_countreturn self.row.cells.lengthendend
The unit tests now run unaltered.
If your table has a uniform number of columns for each row then you could check the whole table by doing something like.
myTable.rows.each { |myRow|myCols = myRow.cells.lengthassert_equal(validColumnCount,myCols,"Column count mismatch")}
Doodle's Geek Monkey by Alastair Montgomery
Ripon Cathedral Postcard
Note: 7 of this post’s 11 links are now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.
Ripon Cathedral Holga-ish | Zazzle.co.uk
Alastair Montgomery's Photography
Main Page My Shop at Zazzle DeviantArt Account Red Bubble Account
Tide marks
Note: 1 of this post’s 2 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.
Via Flickr:
High tide marks in my coffee cup.
My Flickr Favs
Note: 5 of this post’s 8 links are now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.
My Flickr Favorites
Alastair Montgomery's Photography
Main Page My Shop at Zazzle DeviantArt Account Red Bubble Account
Lock water, Canal Walk 3rd April 2011
Note: 1 of this post’s 3 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.

Lock water, Canal Walk 3rd April 2011
Originally uploaded by Alastair Montgomery
Via Flickr:
Pictures from my walk along the length of the Ripon canal.
Ripon Dog Walk 19th March
Note: 1 of this post’s 3 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.

Ripon Dog Walk 19th March
Originally uploaded by Alastair Montgomery
Picture looking into College road in Ripon.
Mazda RX8
Note: 1 of this post’s 3 links is now broken — mostly deleted or made-private Flickr photos, dead Flickr
farmNsubdomains, and defunct feed-syndication infrastructure. Left as originally published.

Mazda RX8
Originally uploaded by Alastair Montgomery
The car to buy when you are having your mid-life crises?


