In today's world, remote-controlled robots are widely used across various industries due to their ability to enhance working efficiency in various applications. Learning about robot operation and human–computer interaction has emerged as a popular topic in recent times. Indeed, learning robotics can be challenging for many students as it requires knowledge of programming, control systems, electronics, etc. Collaborative learning in a physical robotics setting is common in higher education and has received significant attention for its potential to enhance individual learning outcomes. However, the effectiveness of learning robotics in a remote setting is still a matter of debate. In this study, we establish a remote laboratory environment to teach undergraduate students in the engineering discipline. Students are required to utilize a robotic arm to grasp designated objects collaboratively among students through synchronous interactions online. To compare students’ performance under different pedagogical teaching approaches, students are divided into two groups. They each perform the task individually and collaboratively, albeit in a different order. Our study adopts a quantitative method to measure students' learning outcomes based on the assessment of performing the laboratory tasks and completion time. The results indicate a noteworthy improvement in the individual performance of the group of students who engage in collaborative work prior to the individual tasks. These findings have implications for other remote laboratory setups and highlight the effectiveness of collaborative learning in higher education.