elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Security Series.XSS. [Cross Site Scripting]


+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting
| | |-+  Por favor ayuda Ruby
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Por favor ayuda Ruby  (Leído 2,123 veces)
daniel.r.23

Desconectado Desconectado

Mensajes: 58


Ver Perfil
Por favor ayuda Ruby
« en: 15 Marzo 2013, 04:12 am »

Nesecito que por favor me ayuden porque ya no entiendo, estoy tratando de abrir google con Internet Explorer 6 por medio de un srcipt en Ruby.
Este es mi srcipt:
Código:
require 'watir-webdriver'
browser = Watir::Browser.new :ie
browser.goto "http://google.com"
al ejecutarlo me tira el siguiente error:
Código:
C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/ie/server.rb:13:in `get': Unable to find standalone executable. Please download the IEDriverServer from http://code.google.com/p/selenium/downloads/list and place the executable on your PATH. (Selenium::WebDriver::Error::WebDriverError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/ie/bridge.rb:23:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:35:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/common/driver.rb:35:in `for'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver.rb:67:in `for'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver/browser.rb:46:in `initialize'
from C:/Documents and Settings/Administrador/Escritorio/googleando.rb:4:in `new'
from C:/Documents and Settings/Administrador/Escritorio/googleando.rb:4:in `<main>'
[Finished in 0.7s with exit code 1]

Actualmente esto usando la Ruby v1.9.3 watir-webdriver 0.6.2


En línea

Eleкtro
Ex-Staff
*
Desconectado Desconectado

Mensajes: 9.821



Ver Perfil
Re: Por favor ayuda Ruby
« Respuesta #1 en: 15 Marzo 2013, 07:38 am »

¿Te has parado a leer el error y seguir los pasos que te indica?

Citar
C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.31.0/lib/selenium/webdriver/ie/server.rb:13:in `get':

Unable to find standalone executable.

Please download the IEDriverServer from http://code.google.com/p/selenium/downloads/list and place the executable on your PATH.

"No se encuentra el ejecutable, porfavor descargue el IEdriverserver de... y colóquelo en su PATH."


« Última modificación: 15 Marzo 2013, 07:43 am por EleKtro H@cker » En línea

daniel.r.23

Desconectado Desconectado

Mensajes: 58


Ver Perfil
Re: Por favor ayuda Ruby
« Respuesta #2 en: 15 Marzo 2013, 13:40 pm »

¿Te has parado a leer el error y seguir los pasos que te indica?

"No se encuentra el ejecutable, porfavor descargue el IEdriverserver de... y colóquelo en su PATH."

Si eso ya lo hice!
En línea

Eleкtro
Ex-Staff
*
Desconectado Desconectado

Mensajes: 9.821



Ver Perfil
Re: Por favor ayuda Ruby
« Respuesta #3 en: 15 Marzo 2013, 14:15 pm »

El problema es ese... lo pone bien claro, no encuentra el executable en el PATH.

Si usas ruby x86 bájate el iedriver de 32 bit y lo colocas en la carpeta "C:\windows\system32", si usas ruby x64 te bajas el iedriver de 64 bit y lo colocas en la misma, y el de 32 bit lo colocas en "...\syswow64\".

Yo te diría que hagas una desinstalación completa de ruby 2.X y ruby 1.9.3, pero usando un desinstalador (ej: Uninstall Tool) para eliminar todos los restos no sólo del disco, luego limpies tu path con mi aplicación, y luego vuelvas a instalar ruby 1.9.3 + las gemas que quieras, y asegurarte de que la ruta de Ruby está en el PATH.

Saludos
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[AYUDA]Pasar comandos a una shell desde ruby
Scripting
Rust in Peace 0 2,082 Último mensaje 26 Septiembre 2008, 22:23 pm
por Rust in Peace
AYUDA -.- ahora no entro más en 4chan (tengo una duda, ayuda por favor)
Foro Libre
Draklit 6 8,764 Último mensaje 15 Octubre 2010, 03:14 am
por Draklit
Ayuda problema con valor (RUBY)
Scripting
tbgio 1 1,918 Último mensaje 18 Julio 2011, 02:02 am
por tbgio
Ayuda con Ruby
Scripting
DaniBj 5 1,912 Último mensaje 12 Marzo 2014, 14:34 pm
por DaniBj
Ayuda: Scripting con Ruby
Scripting
kn8 0 2,757 Último mensaje 1 Octubre 2022, 19:06 pm
por kn8
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines