Skip to content

Commit

Permalink
JasonLeyba: Use OS version in the iPhoneDriver's capabilities instead…
Browse files Browse the repository at this point in the history
… of a hard coded "1.0"

r14502
  • Loading branch information
jleyba committed Nov 2, 2011
1 parent 5298f7d commit e16f1fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iphone/src/objc/Session.m
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ - (id)capabilities {
forKey:@"locationContextEnabled"];
[caps setValue:[NSNumber numberWithBool:YES]
forKey:@"takesScreenshot"];
[caps setObject:@"1.0" forKey:@"version"];
[caps setObject:[[UIDevice currentDevice] systemVersion]
forKey:@"version"];
return caps;
}

Expand Down

0 comments on commit e16f1fd

Please sign in to comment.