Notes
Notes - notes.io |
const summaryBoxSelector_Region = page.locator('#Region');
if(await summaryBoxSelector_Region.count() > 0){
// 해당 박스가 존재할 때
//comuna 박스 선택
await page.selectOption('#Region', { label: region });
//Neighborhood 박스 선택
await page.selectOption('#Comuna', { label: comuna });
} else if (await summaryBoxSelector.count() > 0) {
// 해당 박스가 존재할 때
//comuna 박스 선택
await page.selectOption('#Comuna', { label: comuna });
//Neighborhood 박스 선택
await page.selectOption('#Neighborhood', { label: neighborhood });
//Pincode 선택
const firstOption = await page.locator('#Pincode option').nth(0).getAttribute('value');
await page.selectOption('#Pincode', postcode);
console.log("Selecting Comuna:", comuna);
console.log("Selecting Neighborhood:", neighborhood);
console.log("Selecting Pincode:", postcode);
} else {
// Pincode 인풋 박스가 존재하는지 확인
const pincodeInput = page.locator('#product-pincode-01');
if (await pincodeInput.count() > 0) {
await pincodeInput.fill(postcode);
} else {
// 그냥 다음 스텝으로 진행 (아무 동작 없이 넘어감)
}
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team
