-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
- Go to a specified URL
var arr = [5,6,7,8], floor, ceil; | |
for(var i = 0; i < arr.length; i++) { | |
floor = Math.floor(arr[i] / 2); | |
ceil = Math.ceil(arr[i]/2); | |
console.log(floor * ceil); | |
} |
Dispatch and redistribute bikes through different nodes based on distance and need.