วันนี้จะขอพูดถึงเครื่องมือตัวหนึ่ง 😃
ของโลกการเขียนซอฟต์แวร์ที่ชื่อ Selenium
คนละชื่อกับ Selenium ในตารางธาตุวิชาเคมีนะ
.
Selenium แห่งโลกซอฟต์แวร์
มันเป็นเครื่องมือและไลบรารี่ในคราวเดียวกัน
เอาไว้ควบคุมบราวเซอร์อัตโนมัติ
.
เวลาพูดถึงเครื่องมือ หรือ tool 🔧⚒
จะไม่เหมือนสว่านในการก่อสร้างนะ
ที่ช่วยทำอัตโนมัติทุกอย่าง จนสบายมือ ไม่เหนื่อย
.
selenium ถูกนิยามเป็น tool ก็จริง
แต่เราต้องมานั่งเขียนโปรแกรมอยู่ดี
ต้องทำงานถึก นั่งพิมพ์ดีด
ต้องเขียนโค้ดเพื่อควบคุมหน้าเว็บด้วยสองมือ
.
ประโยชน์
🐵 1) จุดประสงค์หลักที่มันเกิดขึ้นมา
เขาเอาไว้ใช้ทำ test suite เป็นสำคัญ
พูดง่ายๆ ทำเทสหน้าเว็บไซต์อัตโนมัตินั่นแหละ
.
เช่นเราสามารถเขียนโปรแกรมใส่รหัสผ่าน กดล็อกอิน
คลิกลิงค์โน่นนี้อัตโนมัติ ทดสอบเว็บไซต์ได้เลย
ใครทำเทสอัตโนมัติ นิยมมาก
.
🐼 2) ถ้าจะประยุกต์แอดวานซ์หน่อย
ก็เอาไปทำโรบอทควบคุมเว็บไซต์อัตโนมัติ
เช่น เขียนโปรแกรมให้มันเข้าเว็บ ไปเล่นหุ้นให้เอง
.
แต่นั้นแหละครับมันก็สามารถเอาไปใช้ในทางไม่ดีได้เช่นกัน 😰
เหมือนดาบสองคมเนอะ
.
Selenium รองรับได้หลายบราวเซอร์ดังๆ หลายเจ้า เช่น
Chrom(ium), Firefox, Internet Explorer, Opera, และ Safari
.
แต่ข้อแม้ยุ่งยากนิดหนึ่ง 😠
เราต้องดาวน์โหลด webdriver แต่ละเว็บบราวเซอร์มาก่อน
ถึงจะเขียนโปรแกรมใช้งานบราวเซอร์ยี่ห้อนั้นได้ดั่งใจนึก
(บราวเซอร์คนละยี่ห้อ คนละเวอร์ชั่น ก็คนละ webdriver นะ)
.
ปัจจุบันมันรองรับหลายภาษาเขียนโปรแกรมดังหลายตัว เช่น
Python, Java, C#, JavaScript, Ruby, PHP, Perl
.
สนใจไปศึกษาเพิ่มเติมได้ที่
https://www.selenium.dev/documentation/en/
.
ตัวอย่างรูปที่เห็นตามโพสต์
เป็นโค้ดของภาษา Python
(ต้องมี webdriver ในกรณีนี้เป็นของ Chrome)
จุดประสงค์เอาไว้ล็อกอินหน้า facebook
โดยไม่ต้องกรอกรหัสผ่านให้ปวดมือ
.
เขียนโค้ดสั้นๆ แค่นี้แหละ
เป็นไงเห็นแล้วง่ายไหม?
.
✍ เขียนโดย โปรแกรมเมอร์ไทย thai programmer
Today I'll talk about one tool 😃
of the software writing world named Selenium
Different name with Selenium in the chemical periodic table.
.
Selenium of the Software World
It's a tool and a library at the same time
To control the automatic browser
.
Time to talk about tools or tools 🔧⚒
Won't be like a span in construction.
The one that helps automate everything until it's comfortable. Not tired.
.
Selenium is defined as tool. It's true.
But we have to sit on programming anyway.
Got to work. Sitting in typing.
Code must be written to control webpage with two hands.
.
Benefits
🐵 1) The main purpose for which it happened.
It's important to use test suite
Easy to say. Automatic website test.
.
Like we can program password press log in
Click this link automatically. Test the website.
Who made the autograph test so popular
.
🐼 2) If I want to apply, add to my inbox.
It's going to automate website controller robot
Like programming, let's get on the web, play stocks for yourself.
.
But that's it. It can be used in a bad way too. 😰
It's like a two-edged sword.
.
Selenium supports many loud browsers, such as
Chrom(ium), Firefox, Internet Explorer, Opera, และ Safari
.
But a bit of a complication 😠
We need to download each webdriver before.
Even if I could write a program to use that brand of browser, I would like to think.
(Different brand of browser, different version, different webdriver)
.
Currently, it supports many languages. Many famous programming such as.
Python, Java, C #, JavaScript, Ruby, PHP, Perl
.
If you are interested in studying more, please visit.
https://www.selenium.dev/documentation/en/
.
preview photos seen by post
The code of Python language
(Webdriver is required. In this case, it's Chrome)
The purpose is to log in facebook page.
Without filling the password for hand pain
.
Write a short code just this.
How is it? It's easy to see?
.
✍ Written by Thai programmer thai coderTranslated
同時也有10000部Youtube影片,追蹤數超過2,910的網紅コバにゃんチャンネル,也在其Youtube影片中提到,...
「selenium on chrome」的推薦目錄:
- 關於selenium on chrome 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 的精選貼文
- 關於selenium on chrome 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 的最佳貼文
- 關於selenium on chrome 在 BorntoDev Facebook 的最讚貼文
- 關於selenium on chrome 在 コバにゃんチャンネル Youtube 的最佳解答
- 關於selenium on chrome 在 大象中醫 Youtube 的精選貼文
- 關於selenium on chrome 在 大象中醫 Youtube 的最佳貼文
- 關於selenium on chrome 在 How to use selenium-webdriver with chrome 94? - Stack ... 的評價
- 關於selenium on chrome 在 ChromeDriver · SeleniumHQ/selenium Wiki - GitHub 的評價
- 關於selenium on chrome 在 Selenium 使用Chrome 瀏覽器webdriver - Max的程式語言筆記 的評價
- 關於selenium on chrome 在 Python3 爬虫(八):Selenium 和Chrome Headless - 王鑫的 ... 的評價
selenium on chrome 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 的最佳貼文
วันนี้จะขอพูดถึงเครื่องมือตัวหนึ่ง 😃
ของโลกการเขียนซอฟต์แวร์ที่ชื่อ Selenium
คนละชื่อกับ Selenium ในตารางธาตุวิชาเคมีนะ
.
Selenium แห่งโลกซอฟต์แวร์
มันเป็นเครื่องมือและไลบรารี่ในคราวเดียวกัน
เอาไว้ควบคุมบราวเซอร์อัตโนมัติ
.
เวลาพูดถึงเครื่องมือ หรือ tool 🔧⚒
จะไม่เหมือนสว่านในการก่อสร้างนะ
ที่ช่วยทำอัตโนมัติทุกอย่าง จนสบายมือ ไม่เหนื่อย
.
selenium ถูกนิยามเป็น tool ก็จริง
แต่เราต้องมานั่งเขียนโปรแกรมอยู่ดี
ต้องทำงานถึก นั่งพิมพ์ดีด
ต้องเขียนโค้ดเพื่อควบคุมหน้าเว็บด้วยสองมือ
.
ประโยชน์
🐵 1) จุดประสงค์หลักที่มันเกิดขึ้นมา
เขาเอาไว้ใช้ทำ test suite เป็นสำคัญ
พูดง่ายๆ ทำเทสหน้าเว็บไซต์อัตโนมัตินั่นแหละ
.
เช่นเราสามารถเขียนโปรแกรมใส่รหัสผ่าน กดล็อกอิน
คลิกลิงค์โน่นนี้อัตโนมัติ ทดสอบเว็บไซต์ได้เลย
ใครทำเทสอัตโนมัติ นิยมมาก
.
🐼 2) ถ้าจะประยุกต์แอดวานซ์หน่อย
ก็เอาไปทำโรบอทควบคุมเว็บไซต์อัตโนมัติ
เช่น เขียนโปรแกรมให้มันเข้าเว็บ ไปเล่นหุ้นให้เอง
.
แต่นั้นแหละครับมันก็สามารถเอาไปใช้ในทางไม่ดีได้เช่นกัน 😰
เหมือนดาบสองคมเนอะ
.
Selenium รองรับได้หลายบราวเซอร์ดังๆ หลายเจ้า เช่น
Chrom(ium), Firefox, Internet Explorer, Opera, และ Safari
.
แต่ข้อแม้ยุ่งยากนิดหนึ่ง 😠
เราต้องดาวน์โหลด webdriver แต่ละเว็บบราวเซอร์มาก่อน
ถึงจะเขียนโปรแกรมใช้งานบราวเซอร์ยี่ห้อนั้นได้ดั่งใจนึก
(บราวเซอร์คนละยี่ห้อ คนละเวอร์ชั่น ก็คนละ webdriver นะ)
.
ปัจจุบันมันรองรับหลายภาษาเขียนโปรแกรมดังหลายตัว เช่น
Python, Java, C#, JavaScript, Ruby, PHP, Perl
.
สนใจไปศึกษาเพิ่มเติมได้ที่
https://www.selenium.dev/documentation/en/
.
ตัวอย่างรูปที่เห็นตามโพสต์
เป็นโค้ดของภาษา Python
(ต้องมี webdriver ในกรณีนี้เป็นของ Chrome)
จุดประสงค์เอาไว้ล็อกอินหน้า facebook
โดยไม่ต้องกรอกรหัสผ่านให้ปวดมือ
.
เขียนโค้ดสั้นๆ แค่นี้แหละ
เป็นไงเห็นแล้วง่ายไหม?
.
✍ เขียนโดย โปรแกรมเมอร์ไทย thai programmer
Today I'll talk about one tool 😃
of the software writing world named Selenium
Different name with Selenium in the chemical periodic table.
.
Selenium of the Software World
It's a tool and a library at the same time
To control the automatic browser
.
Time to talk about tools or tools 🔧⚒
Won't be like a span in construction.
The one that helps automate everything until it's comfortable. Not tired.
.
Selenium is defined as tool. It's true.
But we have to sit on programming anyway.
Got to work. Sitting in typing.
Code must be written to control webpage with two hands.
.
Benefits
🐵 1) The main purpose for which it happened.
It's important to use test suite
Easy to say. Automatic website test.
.
Like we can program password press log in
Click this link automatically. Test the website.
Who made the autograph test so popular
.
🐼 2) If I want to apply, add to my inbox.
It's going to automate website controller robot
Like programming, let's get on the web, play stocks for yourself.
.
But that's it. It can be used in a bad way too. 😰
It's like a two-edged sword.
.
Selenium supports many loud browsers, such as
Chrom(ium), Firefox, Internet Explorer, Opera, และ Safari
.
But a bit of a complication 😠
We need to download each webdriver before.
Even if I could write a program to use that brand of browser, I would like to think.
(Different brand of browser, different version, different webdriver)
.
Currently, it supports many languages. Many famous programming such as.
Python, Java, C #, JavaScript, Ruby, PHP, Perl
.
If you are interested in studying more, please visit.
https://www.selenium.dev/documentation/en/
.
preview photos seen by post
The code of Python language
(Webdriver is required. In this case, it's Chrome)
The purpose is to log in facebook page.
Without filling the password for hand pain
.
Write a short code just this.
How is it? It's easy to see?
.
✍ Written by Thai programmer thai coderTranslated
selenium on chrome 在 BorntoDev Facebook 的最讚貼文
🔥 วันนี้มาเอาใจสาย Backend กันบ้างดีกว่า !! กับของดีที่ต้องแชร์ สำหรับคนทำงานหลังบ้านมือใหม่ <3
.
ซึ่งเครื่องไม้เครื่องมือในที่นี้แอดรวมให้มาเพียบ ตั้งแต่ Framework, Web Server จนไปถึงสายชอบโม อย่าง CMS ที่เราใช้ระบบพื้นฐานเขาเป็นแกน แต่จะแปลงเป็นเว็บอะไรก็ได้บนโลก !
.
⭐️ ในวันนี้เรามาพร้อม Link เหมือนเดิม และ คัดเฉพาะอันที่เด็ด ๆ Doc อ่านง่าย ๆ มาให้ทุกคนแล้วว สำหรับใครพร้อมแล้วมาลุยดูกันเลย
.
📚 Framework เฟรมเวิร์คสุดเจ๋งในยุคนี้ ที่ไม่พูดไม่ได้
.
Django
https://www.djangoproject.com/
.
Flask
https://flask.palletsprojects.com/en/1.1.x/
.
Laravel
https://laravel.com/
.
✅ Runtime Environment ของมันต้องใช้ !
.
NodeJs
https://nodejs.org/en/
.
Deno
https://deno.land/
.
💻 Web Server เว็บ Server ที่เป็นของที่ขาดไม่ได้
.
Express.js
https://expressjs.com/
.
Nginx
https://www.nginx.com/
.
Apache
https://www.apache.org/
.
🔖 Content Management System จัดการ Content ง่าย ๆ แต่สร้าง Plugin /Add-on เองได้ไม่จำกัด
.
WordPress
https://wordpress.org/
.
Joomla
https://www.joomla.org/
.
Drupal
https://www.drupal.org/
.
📑 Database ระบบฐานข้อมูลที่สำคัญจัด ๆ เลือกได้ตามสไตล์งานเราได้เลย
.
MySQL
https://www.mysql.com/
.
Firebase Realtime Database
https://firebase.google.com/products/realtime-database
.
PostgreSQL
https://www.postgresql.org/
.
MongoDB
https://www.mongodb.com/
.
🧰 Developing & Debugging Tool เครื่องมือช่วยดีบัก และ แก้ไขเว็บไซต์ ตรวจสอบระบบให้ง่ายทันตา
.
Web Developer : Chrome extension ที่ทำให้สามารถเปิดปิดองค์ประกอบการทำงานของเว็บเช่น cookie JavaScript เพื่อทดสอบได้ตามที่ต้องการ
https://chrome.google.com/webstore/detail/web-developer/bfbameneiokkgbdmiekhjnmfkcnldhhm
.
Postman : ทดสอบและพัฒนา API
https://www.postman.com/
.
ESLint : เครื่องมือตรวจโค้ด
https://eslint.org/
.
⏱ Performance Testing Tool ทดสอบประสิทธิภาพเว็บ ให้แรงเกินใคร
.
Apache JMeter
https://jmeter.apache.org/
.
Selenium
https://www.selenium.dev/
.
PageSpeed Insights
https://developers.google.com/speed/pagespeed/insights/
.
GTmetrix
https://gtmetrix.com/
.
💸 Payment Gateway ระบบชำระเงินหลังบ้าน ที่พลาดไม่ได้ !
.
PayPal
https://www.paypal.com/
.
2C2P
https://www.2c2p.com/
.
Omise
https://www.omise.co/th/thailand
.
Stripe
https://stripe.com/
.
"ใครมีตัวไหนดี ตัวไหนเด็ด มาแชร์กันได้ใต้ Comment เลยยย !"
.
ส่วนใครอยากสายจัดเต็ม Full-Stack มาอ่านส่วนของ Front-End ได้ที่นี่เลยย :
.
https://www.facebook.com/borntodev/photos/a.830302417028053/3151098954948376/?type=3&__xts__%5B0%5D=68.ARA4zgbud_wSTbb2v24PmV3dGtxcmM1rIQq2NBRv98xAKbRK7o51jdqKQPBpX-4fXq7zssGB3-pvI9Tt1Tsblr-irW6OsraEMcEIV3pYRmlAw88hdvSpLBpUkz9Fb1Wrnt4MysXgaBDe9Z3lv2SSz7pXAMCb_syq0QOjIpefgnbaMQDEm3AF8BBAtDVX1POivCkvYgerfYV19YnojEThkFU1ztVt2xz_fbgJbY_SJ3jaXZpGj_RuMtnmUcBQBu5qtBLbTuwRoxt4r9JqwKbGynToSCgDYeuCaaggQReB0UKf56eHewseUP2VnlDpegqRMN4Y-wQaFtIIxrlI9Ablg9lkXA&__tn__=-R
.
#BorntoDev - 🦖 Coding Academy ให้การพัฒนาเทคโนโลยีเป็นเรื่องง่ายสำหรับทุกคน
selenium on chrome 在 ChromeDriver · SeleniumHQ/selenium Wiki - GitHub 的推薦與評價
The ChromeDriver consists of three separate pieces. There is the browser itself ("chrome"), the language bindings provided by the Selenium project ("the driver") ... ... <看更多>
selenium on chrome 在 Selenium 使用Chrome 瀏覽器webdriver - Max的程式語言筆記 的推薦與評價
from selenium import webdriver chromedriver = "/Users/max/Documents/chromedriver" driver = webdriver.Chrome(chromedriver) ... <看更多>
selenium on chrome 在 How to use selenium-webdriver with chrome 94? - Stack ... 的推薦與評價
... <看更多>