複数のdriverを一気に立ち上げる 複数のdriverを宣言するのには普通に考えると以下のようになります。 driver1 = Selenium::WebDriver.for :chrome driver2 = Selenium::WebDriver.for :chrome driver3 = Selenium::WebDriver.for :chrome driver4 = Selenium::WebDriver.for :chrome driver5 = Selenium::WebDriver.for :chrome driver6 = Selenium::WebDriver.for :chrome driver7 = Selenium::WebDriver.for :chrome driver8 = Selenium::WebDriver.for :chrome driver9 =
![selenium gridやjenkinsを返さず単体のコードのみで複数のdriverを並列実行 | katsulog](https://cdn-ak-scissors.b.st-hatena.com/image/square/af8960dfde8d55b2d88ba144300226b71090d843/height=288;version=1;width=512/https%3A%2F%2Fkatsulog.tech%2Fwp-content%2Fuploads%2F2017%2F11%2Feyecatch.png)