• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

321
Views
¿Cómo insertar código en el editor de Mónaco usando Playwright?

Soy nuevo en Playwright y estoy tratando de probar una función que contiene el editor de Mónaco, y no pude encontrar nada relacionado en los documentos y foros de Playwright .

Esta es mi prueba:

 async ({ page }) => { const testPage= new TestPage(page); await testPage.navigateTo(); //dosomething await page.waitForSelector(#monaco-editor-selector); //Paste a script in monaco editor }

¡Por favor ayuda!

almost 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

const { prueba,esperar } = require('@dramaturgo/prueba')

test('Iniciar sesión', asíncrono({ página }) => {
espera page.goto('https://URL')
await expect(página).toHaveTitle('someTITLE')
esperar página.click('selector'); //si necesita el paso
await page.fill('#monaco-editor-selector', 'TU_CÓDIGO');
})

Prueba esto - tal vez ayude

almost 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error