<human>:  How to set window size using phantomjs and selenium webdriver in python
<bot>: Here is some code to set a window size to `1400, 1000` using selenium webdriver

driver.set_window_size(1400, 1000)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.