0
나는 프로 블룸을 가지고 있으며 어디에서 왔는지 정말로 알지 못합니다. 내가 behat, 셀레늄과 goutte 테스트를 할 사용하고 있습니다."연결을 열 수 없습니다"behat and selenium
내 behat.yml :
default:
paths:
features: features
bootstrap: %behat.paths.features%/bootstrap
extensions:
Behat\MinkExtension\Extension:
goutte: ~
selenium2: ~
나는 간단한 시나리오가 있습니다
@javascript
Scenario: Searching for "test"
Given I go to "https://www.google.fr"
When I fill in "q" with "test"
And I press "btnG"
Then I should see "speedtest"
나는 그것을 실행
, 내 파이어 폭스 브라우저가 개방되어 있지만, 아무것도 일어나지 않습니다. 결과는 다음과 같습니다.@javascript
Scenario: Searching for "test" # features/test.feature:7
Given I go to "https://www.google.fr" # FeatureContext::visit()
Could not open connection
When I fill in "q" with "test" # FeatureContext::fillField()
And I press "btnG" # FeatureContext::pressButton()
Then I should see "speedtest"
"javascript"를 제거하면 모든 것이 정상적으로 실행되므로 이상합니다. 그래서 내 문제는 파이어 폭스에서 온 것 같아. 또한 열리는 Firefox 브라우저는 "일반"브라우저가 아닙니다 (문자는 작음).
은 당신이 나를 도와 주실 수 있습니까? :)
을 firefox 32 + selenium 2.38은 함께 플레이하지 않지만 셀렌 2.43으로 업데이트하면 모두 잘됩니다. – rivimey
그게 효과가 있어요. 고마워요 !! – JulienBlc